Universal synchronous/asynchronous receiver transmitter (USART/UART) RM0453
1164/1450 RM0453 Rev 5
35.7 USART interrupts
Refer to Table 245 for a detailed description of all USART interrupt requests.
Table 245. USART interrupt requests
Interrupt
vector
Interrupt event
Event
flag
Enable
Control bit
Interrupt clear
method
Exit from
Sleep
mode
Exit from
Stop
(1)
modes
Exit from
Standby
mode
USART
or UART
Transmit data register empty TXE TXEIE Write TDR
Yes
No
No
Transmit FIFO not Full TXFNF TXFNFIE TXFIFO full No
Transmit FIFO Empty TXFE TXFEIE
Write TDR or write 1 in
TXFRQ
Yes
Transmit FIFO threshold
reached
TXFT TXFTIE Write TDR Yes
CTS interrupt CTSIF CTSIE Write 1 in CTSCF No
Transmission Complete TC TCIE
Write TDR or write 1 in
TCCF
No
Transmission Complete Before
Guard Time
TCBGT TCBGTIE
Write TDR or write 1 in
TCBGT
No
USART
or UART
Receive data register not
empty (data ready to be read)
RXNE RXNEIE
Read RDR or write 1
in RXFRQ
Yes
Yes
No
Receive FIFO Not Empty RXFNE RXFNEIE
Read RDR until
RXFIFO empty or
write 1 in RXFRQ
Yes
Receive FIFO Full RXFF
(2)
RXFFIE Read RDR Yes
Receive FIFO threshold
reached
RXFT RXFTIE Read RDR Yes
Overrun error detected ORE
RXNEIE/
RXFNEIE
Write 1 in ORECF No
Idle line detected IDLE IDLEIE Write 1 in IDLECF No
Parity error PE PEIE Write 1 in PECF No
LIN break LBDF LBDIE Write 1 in LBDCF No
Noise error in multibuffer
communication
NE
EIE
Write 1 in NFCF No
Overrun error in multibuffer
communication
ORE
(3)
Write 1 in ORECF No
Framing Error in multibuffer
communication
FE Write 1 in FECF No
Character match CMF CMIE Write 1 in CMCF No
Receiver timeout RTOF RTOFIE Write 1 in RTOCCF No
End of Block EOBF EOBIE Write 1 in EOBCF No
Wake-up from low-power
mode
WUF WUFIE Write 1 in WUC Yes
SPI slave underrun error UDR EIE Write 1 in UDRCF No
1. The USART can wake up the device from Stop mode only if the peripheral instance supports the wake-up from Stop mode
feature. Refer to Section 35.4: USART implementation for the list of supported Stop modes.