![ARTERY AT32F435 Series Скачать руководство пользователя страница 216](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592216.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 216
Rev 2.03
1: Brake frame is detected.
Bit 7
TDBE
0x1
ro
Transmit data buffer empty
This bit is set by hardware when the transmit data buffer
is empty. It is cleared by a USART_DT register write
operation.
0: Data is not transferred to the shift register.
1: Data is transferred to the shift register.
Bit 6
TDC
0x1
rw0c
Transmit data complete
This bit is set by hardware at the end of transmission. It is
cleared by software. (Option 1: read access to
USART_STS register followed by a USART_DT write
operation; Option 2: Write “0” to this bit )
0: Transmission is not completed.
1: Transmission is completed.
Bit 5
RDBF
0x0
rw0c
Receive data buffer full
This bit is set by hardware when the data is transferred
from the shift register to the USART_DT register. It is
cleared by software. (Option 1: read USART_DT register;
Option 2: write “0” to this bit)
0: Data is not received.
1: Data is received.
Bit 4
IDLEF
0x0
ro
Idle flag
This bit is set by hardware when an idle line is detected.
It is cleared by software. (Read USART_DT register
followed by a USART_DT read operation)
0: No idle line is detected.
1: Idle line is detected.
Bit 3
ROERR
0x0
ro
Receiver overflow error
This bit is set by hardware when the data is received while
the RDNE is still set. It is cleared by software. (Read
USART_STS register followed by a USART_DT read
operation)
0: No overflow error
1: Overflow error is detected.
Note: When this bit is set, the DT register content will not
be lost, but the subsequent data will be overwritten.
Bit 2
NERR
0x0
ro
Noise error
This bit is set by hardware when noise is detect on a
received frame. It is cleared by software. (Read
USART_STS register followed by a USART_DT read
operation)
0: No noise is detected.
1: Noise is detected.
Bit 1
FERR
0x0
ro
Framing error
This bit is set by hardware when a stop bit error (low),
excessive noise or brake frame is detected. It is cleared
by software. USART_STS register followed by a
USART_DT read operation)
0: No framing error is detected.
1: Framing error is detected.
Bit 0
PERR
0x0
ro
Parity error
This bit is set by hardware when parity error occurs. It is
cleared by software. USART_STS register followed by a
USART_DT read operation)
0: No parity error occurs.
1: Parity error occurs.
12.12.2 Data register (USART_DT)
Bit
Register
Reset value
Type
Description
Bit 31: 9
Reserved
0x000000
resd
Kept at its default value.
Bit 8: 0
DT
0x00
rw
Data value
This register provides read and write function. When
transmitting with the parity bit enabled, the value written in
the MSB bit will be replaced by the parity bit. When