www.geehy.com Page 261
Field
Name
R/W
Description
Set 1 or clear 0 by software.
8
PEIEN
R/W
Parity Error interrupt Enable
0: Disable
1: Generate an interrupt when PEFLG is set
Set 1 or clear 0 by software.
9
PCFG
R/W
Odd/Even Parity Configure
0: Even parity check
1: Odd parity check
Set 1 or clear 0 by software.
The selection will not take effect until the current transmission of bytes is
completed.
This bit can be set only when USART is not enabled.
10
PCEN
R/W
Parity Control Enable
0: Disable
1: Enable
If this bit is set, a check bit will be inserted in the most significant bit
when transmitting data; when receiving data, check whether the check
bit of the received data is correct.
The check control will not take effect until the current transmission of
bytes is completed.
This bit can be set only when USART is not enabled.
11
WUPMCFG
R/W
Wakeup Method Configure
0: Idle bus wakeup
1: Address tag wakeup
Set 1 or clear 0 by software.
This bit can be set only when USART is not enabled.
12
DBLCFG0
R/W
Data Bits Length Configure
0: 1 start bit, 8 data bits, n stop bits
1: 1 start bit, 9 data bits, n stop bits
Set 1 or clear 0 by software.
This bit cannot be modified during transmission of data.
13
RXMUTEEN
R/W
Receive Mute Mode Enable
0: Normal working mode
1: Can switch between normal mode and mute mode
Set 1 or clear 0 by software.
14
CMIEN
R/W
Character Match Interrupt Enable
0: Disable
1: Generate an interrupt when CMFLG is set
Set 1 or clear 0 by software.
15
OSMCFG
R/W
Oversampling Mode Configure
0: 16-time oversampling
1: 8-time oversampling
This bit can be set only when USART is not enabled.
20:16 DDLTEN[4:0] R/W
Driver De-lead Time Enable
This bit field is the time interval between the last stop bit and DE signal
during transmission. Its unit is sampling time, determined by
oversampling rate.
If write operation is performed for USART_TXDATA within DDLTEN
time, the just written data will be transmitted only after DDLTEN and
DLTEN time.
This bit field can be set only when USART is not enabled.
25:21
DLTEN[4:0]
R/W
Driver Lead Time Enable
This bit field is the time interval between DE signal and the first start bit
during transmission. Its unit is sampling time, determined by