RL78/G1H CHAPTER 7 TIMER ARRAY UNIT
R01UH0575EJ0120 Rev. 1.20 Page 185 of 920
Dec 22, 2016
7.6.3 Cautions on Channel Output Operation
(1) Changing values set in the registers TOm, TOEm, TOLm, and TOMm during timer operation
Since the timer operations (operations of timer count register mn (TCRmn) and timer data register mn
(TDRmn)) are independent of the TOmn output circuit and changing the values set in timer output register m
(TOm), timer output enable register m (TOEm), and timer output level register m (TOLm) does not affect the
timer operation, the values can be changed during timer operation. To output an expected waveform from
the TOmn pin by timer operation, however, set the TOm, TOEm, TOLm, and TOMm registers to the values
stated in the register setting example of each operation shown by 7.8 and 7.9.
When the values set to the TOEm and TOLm registers (but not the TOm register) are changed close to the
occurrence of the timer interrupt (INTTMmn) of each channel, the waveform output to the TOmn pin might
differ, depending on whether the values are changed immediately before or immediately after the timer
interrupt (INTTMmn) occurs.
Remark m: Unit number (m = 0), n: Channel number (n = 3)