Datasheet

78K0/Kx2-L CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
R01UH0028EJ0400 Rev.4.00 316
Sep 27, 2010
Figure 7-3. Block Diagram of 8-Bit Timer 51 (78K0/KY2-L, 78K0/KA2-L (25-pin and 32-pin products))
3
TCL512 TCL511 TCL510
TCE51
INTTM51
fPRS/2
4
fPRS/2
6
fPRS/2
8
fPRS/2
Internal bus
8-bit timer compare
register 51 (CR51)
Match
Mask circuit
8-bit timer
counter 51 (TM51)
Selector
Clear
Timer clock selection
register 51 (TCL51)
Internal bus
8-bit timer mode control
register 51 (TMC51)
Note
8-bit timer H1 output
f
PRS
Note 78K0/KA2-L (25-pin products)
When bits 3 and 2 (TM5SEL1, TM5SEL0) of MUXSEL register = 0, 0: NO timer input pin
When bits 3 and 2 (TM5SEL1, TM5SEL0) of MUXSEL register = 0, 1: (TI51)(/TOH1)/INTP4/P34
When bits 3 and 2 (TM5SEL1, TM5SEL0) of MUXSEL register = 1, 0: (TI51)(/TOH1)/TI000/INTP0/P00
78K0/KA2-L (32-pin products): NO timer input pin
Figure 7-4. Block Diagram of 8-Bit Timer/Event Counter 51 (78K0/KB2-L, 78K0/KC2-L)
Internal bus
8-bit timer compare
register 51 (CR51)
TI51/TO51/
P33/INTP4
Match
Mask circuit
OVF
3
Clear
TCL512 TCL511 TCL510
Timer clock selection
register 51 (TCL51)
Internal bus
TCE51
TMC516
LVS51 LVR51
TMC511
TOE51
Invert
level
8-bit timer mode control
register 51 (TMC51)
S
R
S
Q
R
INV
Selector INTTM51
TO51/TI51/
P33/INTP4
Note 1
Note 2
Selector
8-bit timer
counter 51 (TM51)
Selector
TO51
output
Output latch
(P33)
PM33
f
PRS
f
PRS
/2
f
PRS
/2
6
f
PRS
/2
4
f
PRS
/2
8
8-bit timer H1 output
Notes 1. Timer output F/F
2. PWM output F/F
<R>