RL78/G1P
CHAPTER 6 TIMER ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
171
Nov 29, 2019
6.6.3 Cautions on channel output operation
(1) Changing values set in the registers TOm, TOEm, and TOLm 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 6.7 and 6.8.
When the values set to the TOEm, and TOMm 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 = 0 to 3)