GD32W51x User Manual
619
This bit is reserved in USART1.
3
RXFCMD
Receive data flush command
Writing 1 to this bit clears the RBNE flag to discard the received data w ithout
reading it.
2
MMCMD
Mute mode command
Writing 1 to this bit makes the USART into mute mode and sets the RWU flag.
1
SBKCMD
Send break command
Writing 1 to this bit sets the SBKF flag and makes the USART send a BREAK
frame, as soon as the transmit machine is idle.
0
ABDCMD
Auto baudrate detection command
Writing 1 to this bit issues an automatic baud rate measurement command on the
next received data frame and resets the ABDF flag in the USART_STA T.
This bit is reserved in USART1
18.4.8.
Status register (USART_STAT)
Address offset: 0x1C
Reset value: 0x0000 00C0
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
REA
TEA
WUF
RWU
SBF
AMF
BSY
r
r
r
r
r
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ABDF
ABDE
Reserved
EBF
RTF
CTS
CTSF
LBDF
TBE
TC
RBNE
IDLEF
ORERR
NERR
FERR
PERR
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
Bits
Fields
Descriptions
31:23
Reserved
Must be kept at reset value
22
REA
Receive enable acknow ledge flag
This bit, w hich is set/reset by hardw are, reflects the receive enable state of the
USART core logic.
0: The USART core receiving logic has not been enabled
1: The USART core receiving logic has been enabled
21
TEA
Transmit enable acknow ledge flag
This bit, w hich is set/reset by hardw are, reflects the transmit enable state of the
USART core logic.
0: The USART core transmitting logic has not been enabled
1: The USART core transmitting logic has been enabled
20
WUF
Wakeup from Deep-sleep mode flag