
30
μ
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)
16-bit compare register (CM00)
–
16-bit compare register (CM01)
–
16-bit compare register (CM02)
–
16-bit compare register (CM03)
INTCM03
16-bit compare register (CM10)
INTCM10
16-bit capture/compare register (CC20)
INTCC20
16-bit capture register (CT20)
–
16-bit capture/compare register (CC30)
INTCC30
16-bit capture register (CT30)
–
16-bit capture register (CT31)
–
16-bit compare register (CM40)
INTCM40
16-bit compare register (CM41)
INTCM41
Timer 0 16-bit timer (TM0)
Timer 1 16-bit timer (TM1)
Timer 2 16-bit timer (TM2)
Timer 3 16-bit timer (TM3)
Timer 4 16-bit timer (TM4)
Compare
register
coincidence
interrupt
Capture
trigger
Timer
output
Timer
clear
–
6
INTCM03
–
–
INTCM10
INTP3
–
INTCC20
INTP0
INTP1
–
INTCC30
INTP4
TCLRUD
INTCM40
–
1
Timer register
Register