RL78/G1P
CHAPTER 6 TIMER ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
127
Nov 29, 2019
The timer array unit has four 16-bit timers.
Each 16-bit timer is called a channel and can be used as an independent timer. In addition, two or more “channels” can
be used to create a high-accuracy timer.
TIMER ARRAY UNIT
16-bit timers
channel 1
channel 0
channel 2
channel 3
For details about each function, see the table below.
Independent Channel Operation Function
Simultaneous Channel Operation Function
Interval timer (
see
6.8.1
)
Square wave output (
see
6.8.1
)
External event counter (
see
6.8.2
)
Input pulse interval measurement (
see
6.8.3
)
Measurement of high-/low-level width of input signal
(
see
6.8.4
)
Delay counter (
see
6.8.5
)
One-shot pulse output (
see
6.9.1
)
PWM output (
see
6.9.2
)
Multiple PWM output (
see
6.9.3
)
It is possible to use the 16-bit timer of channels 1 and 3 of the unit 0 as two 8-bit timers (higher and lower). The
functions that can use channels 1 and 3 as 8-bit timers are as follows:
Interval timer (upper or lower 8-bit timer)/square wave output (lower 8-bit timer only)
External event counter (lower 8-bit timer only)
Delay counter (lower 8-bit timer only)