166
CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER
8.2
Configuration of 8/16-bit Capture Timer/Counter
The 8/16-bit capture timer/counter consists of the following seven blocks:
• Count clock selectors 0/1
• Counter circuits 0/1
• Square wave output control circuit
• Timer 0/1 data registers (TDR0, TDR1)
• Timer 0/1 control registers (TCR0, TCR1)
• Capture data registers (TCPL, TCPH)
• Timer output control register (TCR2)
■
Block Diagram of 8/16-bit Capture Timer/Counter
Figure 8.2-1 Block Diagram of 8/16-bit Capture Timer/Counter
Counter clear
mask (capture clr)
Counter clear mask (identity clr)
Counter clear
Capture latch
Inter
nal data b
u
s
8-bit mode
Port output enable
Timer0, Timer1
output selection
CK0
TDR0
TDR1
TIF0
TFCR0
T0IEN
CINV
TCS02
TCS01
TCS00
TSTR0
TIF1
TFCR1
T1IEN
TCS12
TCS11
TCS10
TSTR
1
CK6
to
to
CO
CK
EQ
CLR
Q
TFF
EQ
CLR
CK
CK6
CK0
3
3
CPIF
CFCLR
CPIEN
CCMSK
TCMSK
EDGS1
EDGS0
RESV
TCR0
TCCR
TCPL
TCR1
TCPH
P34/TO/ INT10
P33/EC
TSEL
PEN
TCR2
M
P
X
M
P
X
IRQ3
IRQ4
8-bit counter
"
L
"
Comparator
LOAD comparator latch
Data register
"
L
"
Pin
Pin
Capture register
"
L
"
Capture register
"
H
"
Data register
"
H
"
8-bit counter
"
H
"
Comparator
LOAD comparator latch
Содержание F2MC-8L F202RA
Страница 2: ......
Страница 4: ......
Страница 32: ...16 CHAPTER 1 OVERVIEW ...
Страница 90: ...74 CHAPTER 3 CPU ...
Страница 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Страница 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Страница 174: ...158 CHAPTER 7 8 BIT PWM TIMER User processing POPW A XCHW A T Restoring A and T POPW A RETI ENDS ...
Страница 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Страница 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Страница 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Страница 258: ...242 CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 EDGE PUSHW A User processing POPW A XCHW A T POPW A RETI ENDS END ...
Страница 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Страница 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Страница 371: ...355 CHAPTER 16 WILD REGISTER FUNCTION 16 3 5 Data Test Set Register WROR A test register Do not access this register ...
Страница 390: ...374 CHAPTER 17 FLASH MEMORY ...
Страница 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 434: ...418 INDEX ...
Страница 436: ......