RL78/G15 CHAPTER 6 TIMER ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 165 of 765
Mar 7, 2023
6.1.2 Simultaneous channel operation function
By using the combination of a master channel (a reference timer mainly controlling the cycle) and slave channels (timers
operating according to the master channel), channels can be used for the following purposes.
1) One-shot pulse output
Two channels are used as a set to generate a one-shot pulse with a specified output timing and a specified pulse width.
Channel n (master
)
Interrupt signal
(INTTMmn)
Compare operation
Timer input
(
TImn
)
Edge detection
Channel p (slave)
Timer output
(TOmp)
Compare operation
Set
(Master)
Output
timing
Pulse width
Start
(
Master)
Reset
(Slave)
Caution For details about the rules of simultaneous channel operation function, see 6.4.1 Basic rules of
simultaneous channel operation function.
Remark m: Unit number (m = 0), n: Channel number (n = 0 to 7)
p: Slave channel number (n < p ≤ 7)
2) PWM (Pulse Width Modulation) output
Two channels are used as a set to generate a pulse with a specified period and a specified duty factor.
Channel n
(master)
Interrupt signal
(INTTMmn)
Compare operation
Channel p
(slave)
Timer output
(TOmp)
Compare operation
Operation clock
Duty
Period
Caution For details about the rules of simultaneous channel operation function, see 6.4.1 Basic rules of
simultaneous channel operation function.
Remark m: Unit number (m = 0), n: Channel number (n = 0 to 7)
p: Slave channel number (n < p ≤ 7)