AT32F425
Series Reference Manual
2022.03.30
Page 158
Ver 2.01
11: Write operation forbidden.
Bit 27: 26 Reserved
0x0
resd
Kept at its default value.
Bit 25 : 21 TSDT
0x00
rw
Transmit start delay time
)
In RS485 mode, the first data (in sequential transmit mode)
is transmitted after a period of time of being written so as
to ensure that the transfer direction of the external
transmitter/receiver to switch back to transmit. This time
depends on the TSDT value, in unit of 1/16 baud rate.
Bit 20 : 16 TCDT
0x00
rw
transmit complete delay time
In RS485 mode, a period of time (delay) is needed before
the last data transfer is complete even if the last STOP bit
has been transferred. This time duration allows the transfer
direction of the external receiver/transmitter to switch back
to receive. This time depends on the TCDT value, in unit
of 1/16 baud rate.
Bit 15: 14 Reserved
0x0
resd
Kept at its default value.
Bit 13
UEN
0
rw
USART enable
0: USART is disabled.
1: USART is enable.
Bit 12
DBN0
0
rw
Data bit num
This bit, along with DBN1, is used to program the number
of data bits.
10: 7 data bits
00: 8 data bits
01: 9 data bits
11: Write operation forbidden.
Bit 11
WUM
0
rw
Wakeup mode
This bit determines the way to wake up silent mode.
0: Waken up by idle line
1: Waken up by ID match
Bit 10
PEN
0
rw
Parity enable
This bit is used to enable hardware parity control
(generation of parity bit for transmission; detection of parity
bit for reception). When this bit is enabled, the MSB bit of
the transmitted data is replaced with the parity bit; Check
whether the parity bit of the received data is correct.
0: Parity control is disabled.
1: Parity control is enabled.
Bit 9
PSEL
0
rw
Parity selection
This bit selects the odd or even parity after the parity
control is enabled.
0: Even parity
1: Odd parity
Bit 8
PERRIEN
0
rw
PERR interrupt enable
0: Interrupt is disabled.
1: Interrupt is enabled.
Bit 7
TDBEIEN
0
rw
TDBE interrupt enable
0: Interrupt is disabled.
1: Interrupt is enabled.
Bit 6
TDCIEN
0
rw
TDC interrupt enable
0: Interrupt is disabled.
1: Interrupt is enabled.
Bit 5
RDBFIEN
0
rw
RDBF interrupt enable
0: Interrupt is disabled.
1: Interrupt is enabled.
Bit 4
IDLEIEN
0
rw
IDLE interrupt enable
0: Interrupt is disabled.
1: Interrupt is enabled.
Bit 3
TEN
0
rw
Transmitter enable
This bit enables the transmitter.
0: Transmitter is disabled.
1: Transmitter is enabled.
Bit 2
REN
0
rw
Receiver enable
This bit enables the receiver.