BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
592 / 1149
Rev.1.02
19.3.14
Serial output level register m(SOLm).
The SOLm register is a register that sets the data output level inversion of each channel.
This register can only be set in UART mode. In SSPI mode and simple
I2C
mode, the corresponding
position "0" must be placed. Only when serial output is allowed (SOEmn=1), the inverting setting of each
channel n of this register is reflected to the pin output. When serial output is disabled (SOEmn=0), the value of
the SOmn bit is output directly. It is forbidden to overwrite the SOLm register during operation (SEmn=1).
The SOLm register is set by means of a 16-bit memory operation instruction.
I can set the low 8 bits of the SDOLm register with SOLmL and through the 8-bit memory operation
instruction.
After generating a reset signal, the value of the SOLm register changes to "0000H".
Figure 19-17
format of serial output level register m(SOLm).
After reset: 0000H
R/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
SOL0
After reset: 0000H
R/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
SOL1
After reset: 0000H
R/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
Ground2
Ground
mn
Channel n
transmits data level in UART mode for selection of inverted phases
0
Output communication data directly.
1
Outputs communication data in reverse.
Note that the bit15
to
3
of the
SOL0
register
and
bit1
and
bit1
of the
SOL1
register
must
be
changed,
bit15
~
1
of the
SOL
2
register
is set to
"0".
Note m: Unit number (m=0~2) n: Channel number (n=0,
2).
0
0
0
0
0
0
0
0
0
0
0
0
0
SOL
02
0
SOL
00
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SOL
10
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SOL
20