English
Language : 

UPD789304 Datasheet, PDF (17/64 Pages) NEC – 8-BIT SINGLE-CHIP MICROCONTROLLER
µPD789304, 789306, 789314, 789316
5.3 Timer
Five timer channels are incorporated.
• 16-bit timer (TM20):
• 8-bit timer (TM30, TM40):
• Watch timer (WT):
• Watchdog timer (WTM):
1 channel
2 channels
1 channel
1 channel
Table 5-2. Timer Operation
Operation Interval time
mode
External event counter
Function Timer output
Square wave output
Interrupt request
TM20
1 channel
–
1 output
–
1
TM30
1 channel
1 channel
1 output
1 output
1
TM40
1 channel
1 channel
1 output
1 output
1
WT
1 channel
–
–
–
1
WTM
1 channel
–
–
–
1
Figure 5-2. Block Diagram of 16-Bit Timer (TM20)
16-bit timer mode control
register 20 (TMC20)
TOF20 CPT201 CPT200 TOC20 TCL201 TCL200 TOE20
Internal bus
P26
output latch
PM26
fCLK
fCLK/22
fCLK/25
fCLK/27
CPT20/P30
/INTP0
16-bit compare register 20 (CR20)
Match
OVF
16-bit timer counter 20 (TM20)
Edge
detector
16-bit capture
register 20 (TCP20)
16-bit counter
read buffer
F/F
TOD20
16-bit timer mode control
register 20 (TMC20)
Remark fCLK: fX or fCC
Internal bus
TO20/P26
INTTM20
Data Sheet U14384EJ1V0DS
17