Timer Output Register M (Tom) - Renesas RL78/G1P Hardware User Manual

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

Advertisement

RL78/G1P

6.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 P13/TI00/TO00, P16/TI01/TO01/INTP5, P33/TI02/TO02/SSI00, or P12/TI03/TO03/INTP4/PCLBUZ0 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.
Address: F01B8H, F01B9H (TO0)
Symbol
15
14
TOm
0
0
TOm
n
0
Timer output value is "0".
1
Timer output value is "1".
Caution Be sure to clear bits 15 to 4 to "0".
m: Unit number (m = 0), n: Channel number (n = 0 to 3)
Remark
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 6-18. Format of Timer Output register m (TOm)
After reset: 0000H
R/W
13
12
11
10
0
0
0
0
9
8
7
6
0
0
0
0
Timer output of channel n
CHAPTER 6 TIMER ARRAY UNIT
5
4
3
2
0
0
TOm
TOm
TOm
3
2
1
0
TOm
1
0
153

Advertisement

Table of Contents
loading

Table of Contents