Datasheet

78K0/Kx2-L CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
R01UH0028EJ0400 Rev.4.00 242
Sep 27, 2010
6.2 Configuration of 16-Bit Timer/Event Counter 00
16-bit timer/event counter 00 includes the following hardware.
Table 6-1. Configuration of 16-Bit Timer/Event Counter 00
Item Configuration
Time/counter 16-bit timer counter 00 (TM00)
Register 16-bit timer capture/compare registers 000, 010 (CR000, CR010)
Timer input TI000, TI010
Timer output TO00, output controller
Control registers
16-bit timer mode control register 00 (TMC00)
16-bit timer capture/compare control register 00 (CRC00)
16-bit timer output control register 00 (TOC00)
Prescaler mode register 00 (PRM00)
Port alternate switch control register (MUXSEL)
Note
Port mode register 0 (PM0)
Port register 0 (P0)
Note 78K0/KA2-L (25-pin and 32-pin products) only
Figure 6-1. Block Diagram of 16-Bit Timer/Event Counter 00
Internal bus
Capture/compare control
register 00 (CRC00)
TI010/TO00/P01
TI000/P00
Prescaler mode
register 00 (PRM00)
2
PRM001
PRM000
CRC002
16-bit timer capture/compare
register 010 (CR010)
Match
Match
16-bit timer counter 00
(TM00)
Clear
Noise
elimi-
nator
CRC002 CRC001 CRC000
INTTM000
INTTM010
16-bit timer output
control register 00
(TOC00)
16-bit timer mode
control register 00
(TMC00)
Internal bus
TMC003 TMC002
TMC001
OVF00
TOC004
LVS00 LVR00
TOC001
TOE00
Selector
16-bit timer capture/compare
register 000 (CR000)
Selector
Selector
Selector
Noise
elimi-
nator
Noise
elimi-
nator
Output
controller
OSPE00
OSPT00
To CR010
TO00/TI010/
P01
TO00 output
Output latch
(P01)
PM01
f
PRS
fPRS/2
2
fPRS/2
8
fPRS
Remark 78K0/KY2-L, 78K0/KA2-L (20 pins) : TI000/INTP0/P00, TI010/TO00/P01
78K0/KA2-L (25 pins) : TI000/INTP0/P00 or (TI000)/(INTP0)/P121
78K0/KA2-L (32 pins) : TI010/TO00/P01, (TI000)/(INTP0)/P121 or (TI000)/(INTP0)/RESET/P125
78K0/KB2-L, 78K0/KC2-L: TI000/P00, TI010/TO00/P01