
BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
590 / 1149
Rev.1.02
19.3.12
Serial output enable register m (SOEm).
The SOEm register setting enable or stops the output of serial communication for each channel.
For channel n that enable serial output, the value of the SOmn bit of the serial output register m (SOm)
described below cannot be rewritten by software, but the value reflected by the communication operation is
output from the serial data output pin.
For channel n that stops the serial output, the value of the SOMn bit of the SOm register can be set by
software and output from the serial data output pin. Thus, arbitrary waveforms such as start conditions or
stop conditions can be generated by software.
The SOEm register is set by the 16-bit memory operation instruction.
I can set the low 8 bits of the SOEm register with SOEmL and through the 8-bit memory operation
instruction.
After generating a reset signal, the value of the SOEm register changes to "0000H".
Figure 19-15
the format of serial output enable register m (SOEm).
After reset: 0000H
R/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
SOE0
After reset: 0000HR/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
SOE1
After reset: 0000HR/W
Symbol 15
14
13
12
11
10
9 8 7 6 5 4 3 2 1 0
SOE2
SOE
mn
Channel n
serial output enable or stops
0
Stops the output of serial communication.
1
An output that enable serial communication.
Note that you must put bit15~4
of the
SOE0
register
,
bit15~2
of the
SOE1
register
, and
SOE
Bit15
to
2
of registers
is
set to
"0".
Note m: Unit number (m=0~2) n: Channel number (n=0~3).
0
0
0
0
0
0
0
0
0
0
0
0
SOE
03
SOE
02
SOE
01
SOE
00
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SOE
11
SOE
10
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SOE
21
SOE
20