Datasheet
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U18698EJ1V0UD
144
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 pins
Timer output TO00 pin, output controller
Control registers
16-bit timer mode control register 00 (TMC00)
Capture/compare control register 00 (CRC00)
16-bit timer output control register 00 (TOC00)
Prescaler mode register 00 (PRM00)
Input switch control register (ISC)
Port mode register 3 (PM3)
Port register 3 (P3)
Remark When using 16-bit timer/event counter 00 as an external 24-bit event counter, 8-bit timer/event
counter 52 (TM52) and 8-bit timer counter H2 (TMH2) are used. For details, see 6.4.9 External 24-
bit event counter operation.
Figures 6-1 shows the block diagrams.
Figure 6-1. Block Diagram of 16-Bit Timer/Event Counter 00
Internal bus
Capture/compare control
register 00 (CRC00)
TI010/TO00/P34/TI52/
RTC1HZ/INTP1
Prescaler mode
register 00 (PRM00)
3
PRM002
PRM001
CRC002
16-bit timer capture/compare
register 010 (CR010)
Match
Match
16-bit timer counter 00
(TM00)
Clear
Noise
elimi-
nator
CRC002CRC001 CRC000
INTTM000
TO00/TI010/P34/TI52/
RTC1HZ/INTP1
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
Output latch
(P34)
PM34
To CR010
PRM000
TM52 output
TI000/P33/RTCDIV/
RTCCL/BUZ/INTP2
ISC4 ISC1
ISC5
P113/RxD6
P12/RxD6
Input switch control
register (ISC)
Selector
Selector
fPRS
fPRS/2
2
fPRS/2
8
fPRS
fPRS/2
4
fSUB
fPRS/2
TO00
output
Cautions 1. The valid edge of TI010 and timer output (TO00) cannot be used for the P34 pin at the same
time. Select either of the functions.