RL78/G10 CHAPTER 6 TIMER ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 130
Dec 22, 2016
6.3.9 Timer output register 0 (TO0)
The TO0 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 (TO0n) of each channel.
The TO0n bit oh this register can be rewritten by software only when timer output is disabled (TOE0n = 0). When timer
output is enabled (TOE0n = 1), rewriting this register by software is ignored, and the value is changed only by the timer
operation.
To use the TO0n alternate pin as a port function pin, set the corresponding TO0n bit to 0.
The TO0 register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 6-17. Format of Timer Output Register 0 (TO0)
Address: F01B8H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
TO0 0 0 0 0 TO03
Note
TO02
Note
TO01 TO00
TO0n Timer output of channel n
0 Timer output value is “0”.
1 Timer output value is “1”.
Note 16-pin products only.
Caution Be sure to clear bits 2 to 7 in 10-pin products and bits 4 to 7 in 16-pin products to 0.
Remark n: Channel number
n = 0, 1 (for 10-pin products); n = 0 to 3 (for 16-pin products)