Renesas RL78/G1P Hardware User Manual page 193

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
(3) Operation of TOmn pin in slave channel output mode (TOMmn = 1)
(a) When timer output level register m (TOLm) setting has been changed during timer operation
When the TOLm register setting has been changed during timer operation, the setting becomes valid at the
generation timing of the TOmn pin change condition. Rewriting the TOLm register does not change the output
level of the TOmn pin.
The operation when TOMmn is set to 1 and the value of the TOLm register is changed while the timer is
operating (TEmn = 1) is shown below.
Figure 6-34. Operation when TOLm Register Has Been Changed Contents during Timer Operation
TOLm
TOmn
(output)
Remarks 1. Set:
Reset: The output signal of the TOmn pin changes from active level to inactive level.
2. m: Unit number (m = 0), n: Channel number (n = 0 to 3)
(b) Set/reset timing
To realize 0%/100% output at PWM output, the TOmn pin/TOmn bit set timing at master channel timer interrupt
(INTTMmn) generation is delayed by 1 count clock by the slave channel.
If the set condition and reset condition are generated at the same time, a higher priority is given to the latter.
Figure 6-35 shows the set/reset operating statuses where the master/slave channels are set as follows.
Master channel:
Slave channel:
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Active
Reset
Set
Set
The output signal of the TOmn pin changes from inactive level to active level.
TOEmn = 1, TOMmn = 0, TOLmn = 0
TOEmp = 1, TOMmp = 1, TOLmp = 0
Active
Active
Reset
Set
CHAPTER 6 TIMER ARRAY UNIT
Active
Reset
Reset
Set
174

Advertisement

Table of Contents
loading

Table of Contents