AT32F421
Series Reference Manual
2022.11.11
Page 146
Rev 2.02
1: Interrupt is enabled.
Bit 6
TDCIEN
0x0
rw
TDC interrupt enable
0: Interrupt is disabled.
1: Interrupt is enabled.
Bit 5
RDBFIEN
0x0
rw
RDBF interrupt enable
0: Interrupt is disabled.
1: Interrupt is enabled.
Bit 4
IDLEIEN
0x0
rw
IDLE interrupt enable
0: Interrupt is disabled.
1: Interrupt is enabled.
Bit 3
TEN
0x0
rw
Transmitter enable
This bit enables the transmitter.
0: Transmitter is disabled.
1: Transmitter is enabled.
Bit 2
REN
0x0
rw
Receiver enable
This bit enables the receiver.
0: Receiver is disabled.
1: Receiver is enabled.
Bit 1
RM
0x0
rw
Receiver mute
This bit determines if the receiver is in mute mode or not.
It is set or cleared by software. When the idle line is used
to wake up from mute mode, this bit is cleared by
hardware after wake up. When the address match is used
to wake up from mute mode, it is cleared by hardware
after wake up. When address mismatches, this bit is set
by hardware to enter mute mode again.
0: Receiver is in active mode.
1: Receiver is in mute mode.
Bit 0
SBF
0x0
rw
Send brake frame
This bit is used to send a brake frame. It can be set or
cleared by software. Generally speaking, it is set by
software and cleared by hardware at the end of brake
frame transmission.
0: No brake frame is transmitted.
1: Brake frame is transmitted.
12.12.5 Control register2 (USART_CTRL2)
Bit
Register
Reset value
Type
Description
Bit 31: 16 Reserved
0x00000
resd
Forced 0 by hardware.
Bit 15
TRPSWAP
0x0
rw
Transmit/receive pin swap
0: Transmit/receive pin swap disabled
1: Transmit/receive pin swap enabled
Bit 14
LINEN
0x0
rw
LIN mode enable
0: LIN mode is disabled.
1: LIN mode is enabled.
Bit 13: 12 STOPBN
0x0
rw
STOP bit num
These bits are used to program the number of stop bits.
00: 1 stop bit
01: 0.5 stop bit
10: 2 stop bits
11: 1.5 stop bits
Bit 11
CLKEN
0x0
rw
Clock enable
This bit is used to enable the clock pin for synchronous
mode or Smartcard mode.
0: Clock is disabled.