30
μ
PD70208H, 70216H
Data Sheet U13225EJ4V0DS00
9.
TCU (TIMER/COUNTER UNIT)
The TCU incorporates 3 counters, and can be used as a timer, event counter, rate generator, etc. Functionally it is a
subset of the
μ
PD71054.
9.1
FEATURES
3
×
16-bit counters
Six programmable count modes
Binary/BCD count
Multiple latch command
Choice of two input clocks: internal/external
9.2
TCU INTERNAL BLOCK DIAGRAM
Notes 1.
A0 or A1 (Set by a system I/O area register)
2.
A1 or A2 (Set by a system I/O area register)
IORD IOWR
Note 1
TCU
Selection
Signal
Read/Write Control
TMD
(Mode
Register)
TCLK
(External)
CLOCK
TCTL0=High
TOUT0 (To INTL0)
TCTL1=High
TOUT1
(External
) TCTL2
(External)
TOUT2
(External)
To INTL2/SCU
SW
SW
SW
Prescaler
TCT #0
Status
Register
Status
Latch
H(8) L(8)
Count
Register
H(8) L(8)
Count
Latch
TCT #1
TCT #2
Down Counter (16)
Control Logic
(16)
(8)
(16)
(8)
(8)
(8)
Internal Data Bus
Note 2