RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 299
Dec 22, 2016
12.3.14 Serial output level register 0 (SOL0)
The SOL0 register is used to set inversion of the data output level of channel 0.
This register can be set only in the UART mode. Be sure to set 0 to corresponding bit in the CSI mode and simplified
I
2
C mode.
Inverting channel 0 by using this register is reflected on pin output only when serial output is enabled (SOE00 = 1).
When serial output is disabled (SOE00 = 0), the value of the SO00 bit is output as is.
Rewriting the SOL0 register is prohibited when the operation is enabled (SE00 = 1).
The SOL0 register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears the SOL0 register to 00H.
Figure 12-16. Format of Serial Output Level Register 0 (SOL0)
Address: F0134H (SOL0) After reset: 00H R/W
Symbol
7 6 5 4 3 2 1 0
SOL0 0 0 0 0 0 0 0 SOL00
SOL00 Selects inversion of the level of the transmit data of channel 0 in UART mode
0 Communication data is output as is.
1 Communication data is inverted and output.
Caution Be sure to clear bits 1 to 7 to 0.
Figure 12-17 shows examples in which the level of transmit data is reversed during UART transmission.
Figure 12-17. Examples of Reverse Transmit Data
(a) Non-reverse Output (SOL00 = 0)
SOL0 = 0 output
SOUT00
Transmit data
(b) Reverse Output (SOL00 = 1)
SOL0 = 1 output
SOUT00
Transmit data (inverted)