EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 308

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 308 / 703
Figure 12-7 Format of serial mode register mn (SMRmn) (2/2)
Address: 40041110H(SMR00)~40041116H(SMR03) After reset: 0020HR/W
40041550H(SMR10)~40041552H(SMR11)
Symbol
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMRmn
SISmn0
Note1
Level inversion control of received data for channel n in UART mode
0
Detect the falling edge as the starting bit.
The input communication data is not reversed.
1
Detect the rising edge as the starting point.
The input communication data is reversed.
MDmn2
MDmn1
Setting of the channel n operating mode
0
0
SSPI mode
0
1
UART mode
1
0
Simplified I
2
C mode
1
1
Disable settings.
MDmn0
Channel n interrupt source selection
0
The end of the transfer is interrupted
1
Buffer empty interrupt
(Occurs when data is transferred from the SDRmn register to the shift register).
In continuous transmission, if the MDmn0 bit is 1 and the data for SDRmn is empty, the next sent data is
made.
Note 1 SMR01, SMR03, SMR11, registers only.
Note You must set bit13 to 9, 7, 4, 3 (SMR00, SMR02, SMR10 registers are bit13~6, 4, 3) to 0, and set bit5 to 1.
Remark m: Unit number (m=0, 1) n: Channel number (n=0~3) p: SSPI number (p=00, 01, 10, 11, 20, 21)
q: UART number (q=0~2) r: IIC number (r=00, 01, 10, 11, 20, 21)
CKS
mn
CCS
mn
0
0
0
0
0
STS
mn
Note1
0
SISm
n0
Note1
1
0
0
MD
mn2
MD
mn1
MD
mn0

Table of Contents

Related product manuals