RL78/G15 CHAPTER 6 TIMER ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 161 of 765
Mar 7, 2023
For details about each function, see the table below.
Independent channel operation function Simultaneous channel operation function
●
Interval timer (→ refer to 6.8.1 Operation as interval
timer/square wave output.)
●
Square wave output (→ refer to 6.8.1 Operation as interval
timer/square wave output.)
●
External event counter (→ refer to 6.8.2 Operation as
external event counter.)
●
Divider
Note 1
(→ refer to 6.8.3 Operation as frequency divider
(channels 0 and 3 only).)
●
Input pulse interval measurement (→ refer to 6.8.4 Operation
as input pulse interval measurement.)
●
Measurement of high-/low-level width of input signal (→ refer
to 6.8.5 Operation as input signal high-/low-level width
measurement.)
●
Delay counter (→ refer to 6.8.6 Operation as delay counter.)
●
One-shot pulse output (→ refer to 6.9.1 Operation as one-
shot pulse output function.)
●
PWM output (→ refer to 6.9.2 Operation as PWM function.)
●
Multiple PWM output (→ refer to 6.9.3 Operation as multiple
PWM output function.)
●
Two-channel input with one-shot pulse output function (→ refer
to 6.9.4 Operation as two-channel input with one-shot
pulse output function.)
Note 1. Channels 0 and 3 only.
It is possible to use the 16-bit timer of channels 1 and 3 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)
Interlinked operation of channel 1 with the serial array unit operating as UART0 can be obtained by setting the ISC
register. The input pulse interval measurement mode can then be used to measure the width at the baud rate of the other
party in communications and make the required adjustments in response.