EasyManua.ls Logo

Cmsemicon CMS32L051 - Serial Output Enable Register M(Soem)

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 12 Universal Serial Communication Unit
www.mcu.com.cn 319 / 703
12.3.11 Serial output enable register m(SOEm)
SOEm register settings allow or stop the output of serial communication for each channel.
For channel n that allows serial output, the value of the SOmn bit of the serial output register m (SOm)
described later cannot be rewritten by software, and 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, an arbitrary waveform such as a start condition or a
stop condition can be generated by software.
The SOEm register is set via a 16-bit memory operation command.
The lower 8 bits of the SOEm register can be set with SOEmL and via 8-bit memory operation
instructions.
After the reset signal is generated, the value of the SOEm register changes to 0000H.
Figure 12-15 Format of serial output enable register m (SOEm)
Address: 4004112AH After reset: 0000H R/W
Symbol
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
0
SOE0
Address: 4004156AH After reset: 0000HR/W
Symbol
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
0
SOE1
SOE
mn
Allow or stop of channel n serial output
0
Stops the output of serial communication.
1
An output that allows serial communication.
Note Bit15~4 of the SOE0 register and bit15~2 of the SOE1 register must be placed 0 .
Notice m: unit number (m=0, 1) 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

Table of Contents

Related product manuals