RL78/G1H CHAPTER 7 TIMER ARRAY UNIT
R01UH0575EJ0120 Rev. 1.20 Page 166 of 920
Dec 22, 2016
7.3.10 Timer output register m (TOm)
The TOm register is a buffer register of timer output of each channel.
The value of each bit in this register is output from the timer output pin (TOmn) of each channel.
The TOmn bit oh this register can be rewritten by software only when timer output is disabled (TOEmn = 0).
When timer output is enabled (TOEmn = 1), rewriting this register by software is ignored, and the value is
changed only by the timer operation.
To use the TI03/TO03 pin as a port function pin, set the corresponding TOmn bit to “0”.
The TOm register can be set by a 16-bit memory manipulation instruction.
The lower 8 bits of the TOm register can be set with an 8-bit memory manipulation instruction with TOmL.
Reset signal generation clears this register to 0000H.
Figure 7 - 22 Format of Timer output register m (TOm)
Caution Be sure to clear bits 15 to 4 , 2 to 0 to “0” in TO0 register. Set to 0000H register in TO1 register.
Remark
m: Unit number (m = 0), n: Channel number (n = 3)
Address: F01B8H, F01B9H (TO0), F01F8H, F01F9H (TO1) After reset: 0000H R/W
Symbol1514131211109876543210
TOm000000000000TOm3TOm2TOm1TOm0
TOm
n
Timer output of channel n
0 Timer output value is “0”.
1 Timer output value is “1”.