668
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
1:USART is enabled.
12
WL
Word length.
0:8 data bits.
1:9 data bits.
Note: If data is in transit, this bit cannot be configured.
11
WUM
Wake up mode from mute mode.
0: Idle frame wake up.
1: Address identifier wake up.
10
PCEN
Parity control enable
0: Parity control is disabled.
1: Parity control is enabled.
9
PSEL
Parity selection.
0: even check.
1: odd check.
8
PEIEN
PE interrupt enable
If this bit is set to 1, an interrupt is generated when USART_STS.PEF bit is set.
0: Parity error interrupt is disabled.
1: Parity error interrupt is enabled.
7
TXDEIEN
TXDE interrupt enable
If this bit is set to 1, an interrupt is generated when USART_STS.TXDE bit is set.
0: Send buffer empty interrupt is disabled.
1: Send buffer empty interrupt is enabled.
6
TXCIEN
Transmit complete interrupt enable.
If this bit is set to 1, an interrupt is generated when USART_STS.TXC is set.
0: Transmission completion interrupt is disabled.
1: Transmission completion interrupt is enabled.
5
RXDNEIEN
RXDNE interrupt enable
If this bit is set to 1, an interrupt is generated when USART_STS.RXDNE or
USART_STS.OREF is set.
0: Data buffer non-empty interrupt o and overrun error interrupt are disabled.
1: Data buffer non-empty interrupt o and overrun error interrupt are enabled.
4
IDLEIEN
IDLE interrupt enable.
If this bit is set to 1, an interrupt is generated when USART_STS.IDLEF is set.
0:IDLE line detection interrupt is disabled.
1: IDLE line detection interrupt is enabled.
3
TXEN
Transmitter enable.
0: The transmitter is disabled.
1: the transmitter is enabled.
2
RXEN
Receiver enable
0: The receiver is disabled.
1: the receiver is enabled.
1
RCVWU
The receiver wakes up