GD32F403xx User Manual
413
Table 17-3. USART interrupt requests
Interrupt event
Event flag
Control register
Enable
Control bit
Transmit data buffer empty
TBE
USART_CTL0
TBEIE
CTS toggled flag
CTSF
USART_CTL2
CTSIE
Transmission complete
TC
USART_CTL0
TCIE
Received buff not empty
RBNE
USART_CTL0
RBNEIE
Overrun error
ORERR
Idle frame
IDLEF
USART_CTL0
IDLEIE
Parity error
PERR
USART_CTL0
PERRIE
Break detected flag in LIN mode
LBDF
USART_CTL1
LBDIE
Receiver timeout
RTF
USART_CTL3
RTIE
End of block
EBF
USART_CTL3
EBIE
Reception errors (noise flag,
overrun error, framing error) in
DMA reception
NERR or ORERR or
FERR
USART_CTL2
ERRIE
All of the interrupt events are ORed together before being sent to the interrupt controller, so
the USART can only generate a single interrupt request to the controller at any given time.
Software can service multiple interrupt events in a single interrupt service routine.
Figure 17-16. USART interrupt mapping diagram
ORERR
RBNEIE
PERR
PEIE
LBDF
LBDIE
FERR
NERR
ORERR
DMA
OR
TCIE
TBEIE
CTSF
CTSIE
USART_INT
TC
TBE
RBNE
RBNEIE
IDLEF
IDLEIE
ERRIE
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...