Renesas RL78 Series User Manual page 414

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
13.3.13 Serial output level register m (SOLm)
The SOLm register is a register that is used to set inversion of the data output level of each channel.
This register can be set only in the UART mode. Be sure to set 0 for corresponding bit in the CSI mode and simplifies
2
I
C mode.
Inverting channel n by using this register is reflected on pin output only when serial output is enabled (SOEmn = 1).
When serial output is disabled (SOEmn = 0), the value of the SOmn bit is output as is.
Rewriting the SOLm register is prohibited when the register is in operation (when SEmn = 1).
The SOLm register can be set by a 16-bit memory manipulation instruction.
The lower 8 bits of the SOLm register can be set with an 8-bit memory manipulation instruction with SOLmL.
Reset signal generation clears the SOLm register to 0000H.
Address: F0134H, F0135H (SOL0)
Symbol
15
14
SOL0
0
0
SOLmn
0
1
Caution Be sure to clear bits 15 to 3 and 1 of the SOL0 register to "0".
Remark
m: Unit number (m = 0), n: Channel number (n = 0, 2)
Figure 13-18 shows examples in which the level of transmit data is reversed during UART transmission.
SOLmn = 0 output
TXDq
SOLmn = 1 output
TXDq
Remark m: Unit number (m = 0), n: Channel number (n = 0, 2)
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Figure 13-17. Format of Serial Output Level Register m (SOLm)
After reset: 0000H
13
12
11
10
0
0
0
0
Selects inversion of the level of the transmit data of channel n in UART mode
Communication data is output as is.
Communication data is inverted and output.
Figure 13-18. Examples of Reverse Transmit Data
(a) Non-reverse Output (SOLmn = 0)
(b) Reverse Output (SOLmn = 1)
CHAPTER 13 SERIAL ARRAY UNIT
R/W
9
8
7
6
0
0
0
0
Transmit data
Transmit data (inverted)
5
4
3
2
0
0
0
SOL
02
1
0
0
SOL
00
393

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents