English
Language : 

UPD78361A Datasheet, PDF (30/88 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLER
µPD78361A, 78362A
3.6 REAL-TIME PULSE UNIT (RPU)
The real-time pulse unit (RPU) can measure pulse intervals and frequencies, and output programmable
pulses (six channels of PWM control signals).
The RPU consists of five 16-bit timers (timers 0 through 4), of which one is provided with a 10-bit dead time
timer, which is ideal for inverter control. In addition, a function to turn off the output by the software or an external
interrupt is also provided.
Each timer has the following features:
• Timer 0 : Controls the PWM period of the TO00 through TO05 pins. In addition, operates as a
general-purpose interval timer. Timer 0 has the following five operation modes:
⋅ General-purpose interval timer mode
⋅ PWM mode 0 (symmetrical triangular wave)
⋅ PWM mode 0 (asymmetrical triangular wave)
⋅ PWM mode 0 (saw-tooth wave)
⋅ PWM mode 1
• Timer 1 : Operates as a general-purpose interval timer.
• Timers 2 & 3 : Has a programmable input sampling circuit that rejects the noise of an input signal,
and a capture function.
• Timer 4 : Operates as a general-purpose timer or an up-down counter. When operating as a general-
purpose timer, controls the PWM cycle of the TO40 output pin. Timer 4 has the following
two operation modes:
⋅ General-purpose timer mode
⋅ Up/down counter mode (UDC mode)
The RPU consists of the hardware shown in Table 3-2. Figures 3-4 through 3-12 show the block diagrams
of the respective timers.
Table 3-2. Configuration of Real-Time Pulse Unit (RPU)
Timer register
Register
16-bit compare register (CM00)
16-bit compare register (CM01)
Timer 0 16-bit timer (TM0)
16-bit compare register (CM02)
16-bit compare register (CM03)
Timer 1 16-bit timer (TM1) 16-bit compare register (CM10)
16-bit capture/compare register (CC20)
Timer 2 16-bit timer (TM2)
16-bit capture register (CT20)
16-bit capture/compare register (CC30)
Timer 3 16-bit timer (TM3) 16-bit capture register (CT30)
16-bit capture register (CT31)
16-bit compare register (CM40)
Timer 4 16-bit timer (TM4)
16-bit compare register (CM41)
Compare
register
coincidence
interrupt
–
–
–
INTCM03
INTCM10
INTCC20
–
INTCC30
–
–
INTCM40
INTCM41
Capture
trigger
–
–
INTP3
INTP0
INTP1
INTP4
–
Timer
output
6
–
–
–
1
Timer
clear
INTCM03
INTCM10
INTCC20
INTCC30
TCLRUD
INTCM40
30