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
Summary of Contents for F2MC-8L F202RA
Page 2: ......
Page 4: ......
Page 32: ...16 CHAPTER 1 OVERVIEW ...
Page 90: ...74 CHAPTER 3 CPU ...
Page 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Page 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Page 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Page 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Page 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Page 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Page 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Page 390: ...374 CHAPTER 17 FLASH MEMORY ...
Page 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 434: ...418 INDEX ...
Page 436: ......