GD32W51x User Manual
612
15
STRP
Sw ap TX/RX pins
0: The TX and RX pins functions are not sw apped
1: The TX and RX pins functions are sw apped
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
14
LMEN
LIN mode enable
0: LIN mode disabled
1: LIN mode enabled
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
This bit is reserved in USART1.
13:12
STB[1:0]
STOP bits length
00: 1 Stop bit
01: 0.5 Stop bit
10: 2 Stop bits
11: 1.5 Stop bit
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
11
CKEN
CK pin enable
0: CK pin disabled
1: CK pin enabled
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
This bit is reserved in USART1.
10
CPL
Clock polarity
0: Steady low value on CK pin outside transmission w indow in synchronous mode
1: Steady high value on CK pin outside transmission w indow in synchronous
mode
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
9
CPH
Clock phase
0: The first clock transition is the first data capture edge in synchronous mode
1: The second clock transition is the first data capture edge in synchronous mode
This bit field cannot be w ritten w hen the USART is enabled (UEN=1).
8
CLEN
CK length
0: The clock pulse of the last data bit (MSB) is not output to the CK pin in
synchronous mode
1: The clock pulse of the last data bit (MSB) is output to the CK pin in synchronous
mode
This bit field cannot be w ritten w hen the USART is enabled (UEN=1)
7
Reserved
Must be kept at reset value
6
LBDIE
LIN break detection interrupt enable
0: LIN break detection interrupt is disabled
1: An interrupt w ill occur w henever the LBDF bit is set in USART_STAT