Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
484
/
631
Bit field
Name
Description
USART_STS.RXDNE flag. In the multi-buffer communication mode, if the
USART_CTRL3.ERRIEN bit is set, an interrupt will be generated when the NEF flag is
set.
1
FEF
Framing error.
When the data is not synchronized or a large amount of noise is detected, and the stop
bit is not received and recognized at the expected time, it will be judged that a framing
error has been detected, and this bit will be set to 1. First read USART_STS, then read
USART_DAT can cleared this bit.
0: No framing errors were detected.
1: A framing error or a Break Character is detected.
Note: this bit will not generate an interrupt because it appears with
USART_STS.RXDNE, and the hardware will generate an interrupt when setting the
USART_STS.RXDNE flag. If the currently transmitted data has both framing errors and
overload errors, the hardware will continue to transmit the data and only set the
USART_STS.OREF flag bit.
In the multi-buffer communication mode, if the USART_CTRL3.ERRIEN bit is set, an
interrupt will be generated when the FEF flag is set.
0
PEF
Parity error.
This bit is set when the parity bit of the received data frame is different from the
expected check value.
The software can clear this bit by reading USART_STS first and then reading
USART_DAT.
0: No parity error was detected.
1: Parity error detected.
USART Data register (USART_DAT)
Address offset : 0x04
Reset value : undefined (uncertain value)
Bit field
Name
Description
31:9
Reserved
Reserved, the reset value must be maintained
8:0
DATV[8:0]
Data value
Contains the data sent or received; Software can change the transmitted data by writing
these bits, or read the values of these bits to obtain the received data.