EasyManuals Logo

ST STM32G0 1 Series User Manual

ST STM32G0 1 Series
1390 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1049 background imageLoading...
Page #1049 background image
RM0444 Rev 5 1049/1390
RM0444 Universal synchonous receiver transmitter (USART)
1138
33.7 USART interrupts
Refer to Table 186 for a detailed description of all USART interrupt requests.
Table 186. 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
Wakeup 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 Wakeup from Stop mode
feature. Refer to Section 33.4: USART implementation for the list of supported Stop modes.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G0 1 Series and is the answer not in the manual?

ST STM32G0 1 Series Specifications

General IconGeneral
BrandST
ModelSTM32G0 1 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals