![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 332](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630332.webp)
www.geehy.com Page 331
Field
Name
R/W
Description
1
FEFLG
R
Frame Error Occur Flag
0: No frame error
1: A frame error or disconnection symbol appeared
When there is synchronous dislocation, too much noise or
disconnection symbol, set to 1 by hardware;
This bit can be cleared by software; first read USART_STS register,
and then read USART_DATA register to complete clearing.
2
NEFLG
R
Noise Error Occur Flag
0: No noise
1: There is noise error
When there is noise error, set to 1 by hardware;
This bit can be cleared by software; first read USART_STS register,
and then read USART_DATA register to complete clearing.
3
OVREFLG
R
Overrun Error Occur Flag
0: Overrun error
1: Overrun error occurred
When the RXBNEFLG bit is set and the data in the shift register is
to be transmitted to the receive register, set to 1 by hardware;
This bit can be cleared by software; first read USART_STS register,
and then read USART_DATA register to complete clearing.
4
IDLEFLG
R
IDLE Line Detected Flag
0: Idle bus is not detected
1: Idle bus is detected
When idle bus is detected, set to 1 by hardware;
This bit can be cleared by software; first read USART_STS register,
and then read USART_DATA register to complete clearing.
5
RXBNEFLG RC_W0
Receive Data Buffer Not Empty Flag
0: The receive data buffer is empty
1: The receive data buffer is not empty
When the data register receives the data transmitted by the receive
shift register, it will be set to 1 by hardware;
This bit can be cleared by software; read USART_DATA to clear, or
write 0 to this bit to clear it.
6
TXCFLG
RC_W0
Transmit Data Complete Flag
0: Transmitting data is not completed
1: Transmitting data is completed
After the last frame of data is sent and the TXBEFLG is set, set to 1
by hardware;
This bit can be cleared by software; first read USART_STS register,
and then write USART_DATA register to complete clearing; or this
bit can be cleared by writing 0 to it.
7
TXBEFLG
R
Transmit Data Buffer Empty Flag
0: The transmit data buffer is not empty
1: The transmit data buffer is empty
When the shift register receives the data transmitted by the
transmit data register, it will be set to 1 by hardware;
This bit can be cleared by software; write USART_DATA register to
complete clearing.