English
Language : 

UPD784020 Datasheet, PDF (32/90 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCOMPUTER
mPD784020, 784021
8.4 TIMERS/COUNTERS
Three timer/counter units and one timer unit are incorporated.
Moreover, seven interrupt requests are supported, allowing these units to function as seven timer/counter units.
Table 8-2 Timer/Counter Operation
Item
Name
Timer/counter 0 Timer/counter 1 Timer/counter 2
Timer 3
Count pulse width 8 bits
H
16 bits
–
l
l
l
l
l
l
l
Operating mode Interval timer
2ch
2ch
2ch
1ch
External event counter
l
l
l
–
One-shot timer
–
–
l
–
Function
Timer output
2ch
–
2ch
–
Toggle output
l
–
l
–
PWM/PPG output
l
–
l
–
One-shot pulse outputNote
l
–
–
–
Real-time output
–
l
–
–
Pulse width measurement
1 input
1 input
2 inputs
–
Number of interrupt requests
2
2
2
1
Note The one-shot pulse output function makes the level of a pulse output active by software, and makes the
level of a pulse output inactive by hardware (interrupt request signal).
Note that this function differs from the one-shot timer function of timer/counter 2.
32