전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

ATPL00B 데이터시트(PDF) 54 Page - ATMEL Corporation

부품명 ATPL00B
상세설명  FSK Power Line Communications SoC
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  ATMEL [ATMEL Corporation]
홈페이지  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATPL00B 데이터시트(HTML) 54 Page - ATMEL Corporation

Back Button ATPL00B Datasheet HTML 50Page - ATMEL Corporation ATPL00B Datasheet HTML 51Page - ATMEL Corporation ATPL00B Datasheet HTML 52Page - ATMEL Corporation ATPL00B Datasheet HTML 53Page - ATMEL Corporation ATPL00B Datasheet HTML 54Page - ATMEL Corporation ATPL00B Datasheet HTML 55Page - ATMEL Corporation ATPL00B Datasheet HTML 56Page - ATMEL Corporation ATPL00B Datasheet HTML 57Page - ATMEL Corporation ATPL00B Datasheet HTML 58Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 54 / 152 page
background image
Atmel ATPL00B [datasheet]
43028A-ATPL - 9/12
54
Up Counter Operation
When DCEN = 0, timer 2 operates as an up counter.
The external enable bit EXEN2 in the T2CON register provides two options. If EXEN2 = 0, timer 2 counts up to
FFFFH and sets the TF2 overflow flag. The overflow condition loads the 16-bit value in the reload/capture
registers (RCAP2H, RCAP2L) into the timer registers (TH2, TL2). The values in RCAP2H and RCAP2L are
preset by software.
If EXEN2 = 1, the timer registers are reloaded by either a timer overflow or a high-to-low transition at external
input T2EX. This transition also sets the EXF2 bit in the T2CON register.
Either TF2 or EXF2 bit can generate a timer 2 interrupt request.
Up/Down Counter Operation
When DCEN = 1, timer 2 operates as an up/down counter.
External pin T2EX controls the direction of the count.
When T2EX is high, timer 2 counts up. The timer overflow occurs at FFFFH which sets the timer 2 overflow flag
(TF2) and generates an interrupt request. The overflow also causes the 16-bit value in RCAP2H and RCAP2L to
be loaded into the timer registers TH2 and TL2.
When T2EX is low, timer 2 counts down. Timer underflow occurs when the count in the timer registers (TH2, TL2)
equals the value stored in RCAP2H and RCAP2L. The underflow sets the TF2 bit and reloads FFFFH into the
timer registers.
The EXF2 bit toggles when timer 2 overflows or underflows changing the direction of the count. When timer 2
operates as an up/down counter, EXF2 does not generate an interrupt. This bit can be used to provide 17-bit
resolution.
Table 5-2.
Timer 2 Auto-reload mode
5.2.4
Clock-Out mode
In the clock-out mode, timer 2 operates as a 50%-duty-cycle, variable-frequency clock. The input clock increments TL2
at frequency FOSC/2 (where FOSC=11.059.200Hz). The timer repeatedly counts to overflow from a preloaded value. At
overflow, the contents of the RCAP2H and RCAP2L registers are loaded into TH2/TL2. In this mode, timer 2 overflows
do not generate interrupts. The formula gives the clock-out frequency as a function of the system oscillator frequency
and the value in the RCAP2H and RCAP2L registers:
TH2
RCAP
2L
CLK
1/(3 x (T2PR(1:0) + 1))
TL2
TF2
„1‟
„0‟
T2 pin
TR2
C/T2
Interrupt
Control
Hardware
RCAP
2H
EXF2
T2EX pin
EXEN 2
FF
FF
(down counting reload value)
(up counting reload value)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com