Table 6.12.5-6 Uart Controller Interrupt Source And Flag List - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

Table 6.12.5-6 describes the interrupt sources and flags. When an interrupt occurred, its
corresponding flag will be raised (set). Software should clear the interrupt flag after the interrupt is
generated. Writing 1 (to flag) clears the interrupt flag.
Interrupt
Interrupt Source
Indicator
Receive Data Available
RDAINT
Interrupt
Transmit Holding
Register Empty
THERINT
Interrupt
Transmitter Empty
TXENDINT
Interrupt
Receive Line Status
RLSINT
Interrupt
Modem Status Interrupt MODEMINT MODEMIEN
Receiver Buffer Time-
RXTOINT
out Interrupt
Buffer Error Interrupt
BUFERRINT BUFERRIEN
Wake-up Interrupt
WKINT
Auto-Baud Rate
ABRINT
Interrupt

Table 6.12.5-6 UART controller Interrupt Source and Flag List

6.12.5.8 UART Function Mode
The UART controller provides UART function (Setting FUNCSEL (UART_FUNCSEL [1:0]) to '00'
to enable UART function mode). The UART baud rate is up to 921 Kbps.
The UART provides full-duplex and asynchronous communications. The transmitter and receiver
each has 16-byte FIFO. User can program receiver buffer trigger level and receiver buffer time-out
detection for receiver. The transmitting data delay time between the last stop and the next start bit
can be programed by setting DLY (UART_TOUT [15:8]) register. The UART supports hardware
Sep 9, 2019
ISD94100 Series Technical Reference Manual
Interrupt Enable
Interrupt Flag
Bit
RDAIEN
RDAIF
THREIF
THREIEN
TXENDIEN
TXENDIF
RLSIEN
RLSIF
MODEMIF
RXTOIEN
RXTOIF
BUFERRIF
WKIEN
WKIF
ABRIEN
ABRIF
Page 580 of 928
Flag Caused By
Flag Cleared By
N/A
Read UART_DAT
N/A
Write UART_DAT
N/A
Write UART_DAT
RLSIF = BIF
Write '1' to BIF
RLSIF = FEF
Write '1' to FEF
RLSIF = PEF
Write '1' to PEF
RLSIF = ADDRDETF Write '1' to ADDRDETF
MODEMIF
=
Write '1' to CTSDETF
CTSDETF
N/A
Read UART_DAT
BUFERRIF
=
Write '1' to TXOVIF
TXOVIF
BUFERRIF
=
Write '1' to RXOVIF
RXOVIF
WKIF = CTSWKF
Write '1' to CTSWKF
WKIF = DATWKF
Write '1' to DATWKF
WKIF = RFRTWKF
Write '1' to RFRTWKF
WKIF = RS485WKF Write '1' to RS485WKF
WKIF = TOUTWKF
Write '1' to TOUTWKF
ABRIF = ABRDIF
Write '1' to ABRDIF
ABRIF = ABRDTOIF Write '1' to ABRDTOIF
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents