
GD32L23x User Manual
431
1: The TX and RX pins functions are swapped
This bit field cannot be written when the USART is enabled (UEN=1).
14
LMEN
LIN mode enable
0: LIN mode disabled
1: LIN mode enabled
This bit field cannot be written when the USART is enabled (UEN=1).
This bit is reserved in UART3 and UART4.
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 written when the USART is enabled (UEN=1).
11
CKEN
CK pin enable
0: CK pin disabled
1: CK pin enabled
This bit field cannot be written when the USART is enabled (UEN=1).
This bit is reserved in UART3 and UART4.
10
CPL
Clock polarity
0: Steady low value on CK pin outside transmission window in synchronous mode
1: Steady high value on CK pin outside transmission window in synchronous
mode
This bit field cannot be written when 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 written when 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 written when 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 will occur whenever the LBDF bit is set in USART_STAT
This bit is reserved in UART3 and UART4.
5
LBLEN
LIN break frame length