µPD75064, 75066, 75068, 75064(A), 75066(A), 75068(A)
5.6 Timer/Event Counter
The µPD75068 has an on-chip 1-ch timer/event counter. The timer/event counter has the following
functions:
• Programmable interval timer operation
• Outputs square-wave signal of a user-selectable frequency to the PTO0 pin
• Event counter operation
• Divides the TI0 pin input by N and outputs to the PTO0 pin (frequency divider operation)
• Supplies serial shift clock to the serial interface circuit
• Count condition read-out function.
Figure 5-5. Block Diagram of Timer / Event Counter
Internal bus
8
SET1 Note
8
TM0
TM07 TM06 TM05 TM04 TM03 TM02 TM01 TM00
8
TMOD0
Modulo register (8)
TOE0
TO
enable
flag
PORT1.3
Input buffer
P13/
TI0
From the
clock
generator
(Refer to Fig. 5-1.)
MPX
8
Comparator (8)
Match
TOUT
F/F
8
T0
Reset
Count register (8)
CP
Clear
signal
Timer operation start signal
PORT2.0
P20
output
latch
signal
Bit 2 of PGMB
Port 2
input/
output
mode
To serial
interface
Output
buffer
P20/PTO0
INTT0
IRQT0
set signal
RESET
IRQT0 clear
signal
Note Instruction execution
23