
M0A21/M0A23 Series
May 06, 2022
Page
464
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
1.
0 = No RDA interrupt is generated.
1 = RDA interrupt is generated.
[7]
LINIF
LIN Bus Interrupt Flag
This bit is set when LIN slave header detect (SLVHDETF (UART_LINSTS[0] = 1)), LIN
slave header error detect (SLVHEF (UART_LINSTS[1] = 1)), LIN slave ID parity error
(SLVIDPEF (UART_LINSTS[2] = 1)), LIN slave header time-out detect (SLVHTOF
(UART_LINSTS[4] = 1)), LIN response time-out detect (RTOUTF (UART_LINSTS[5] = 1)),
LIN break detect (BRKDETF (UART_LINSTS[8] = 1)), or bit error detect (BITEF
(UART_LINSTS[9] = 1)). If LINIEN (UART_INTEN[8]) is enabled the LIN interrupt will be
generated.
0 = None of SLVHDETF, SLVHEF, SLVIDPEF, SLVHTOF, RTOUTF, BITEF, and
BRKDETF is generated.
1 = At least one of SLVHDETF, SLVHEF, SLVIDPEF, SLVHTOF, RTOUTF, BITEF, and
BRKDETF is generated.
Note:
This bit is cleared when
SLVHDETF
(UART_LINSTS[0]), SLVHEF
(UART_LINSTS[1]), SLVIDPEF (UART_LINSTS[2]), SLVHTOF (UART_LINSTS[4]),
RTOUTF
(UART_LINSTS[5]),
BRKDETF
(UART_LINSTS[8]),
and
BITEF
(UART_LINSTS[9]) all are cleared and software writing ‘1’ to LINIF (UART_INTSTS[7]).
[6]
WKIF
UART Wake-up Interrupt Flag (Read Only)
This bit is set
when TOUTWKF (UART_WKSTS[4]), RS485WKF (UART_WKSTS[3]),
RFRTWKF
(UART_WKSTS[2]),
DATWKF
(UART_WKSTS[1])
or
CTSWKF
(UART_WKSTS[0]) is set to 1.
0 = No UART wake-up interrupt flag is generated.
1 = UART wake-up interrupt flag is generated.
Note:
This bit is cleared if all of TOUTWKF, RS485WKF, RFRTWKF, DATWKF and
CTSWKF are cleared to 0 by writing 1 to the corresponding interrupt flag.
[5]
BUFERRIF
Buffer Error Interrupt Flag (Read Only)
This bit is set when the TX FIFO or RX FIFO overflows (TXOVIF (UART_FIFOSTS[24]) or
RXOVIF (UART_FIFOSTS[0]) is set). When BUFERRIF (UART_INTSTS[5]) is set, the
transfer is not correct. If BUFERRIEN (UART_INTEN[5]) is enabled, the buffer error
interrupt will be generated.
0 = No buffer error interrupt flag is generated.
1 = Buffer error interrupt flag is generated.
Note:
This bit is cleared if both of RXOVIF (UART_FIFOSTS[0]) and TXOVIF
(UART_FIFOSTS[24]) are cleared to 0 by writing 1 to RXOVIF (UART_FIFOSTS[0]) and
TXOVIF (UART_FIFOSTS[24]).
[4]
RXTOIF
RX Time-out Interrupt Flag (Read Only)
This bit is set when the RX FIFO is not empty and no activities occurred in the RX FIFO
and the time-out counter equal to TOIC (UART_TOUT[7:0]). If RXTOIEN
(UART_INTEN[4]) is enabled, the RX time-out interrupt will be generated.
0 = No RX time-out interrupt flag is generated.
1 = RX time-out interrupt flag is generated.
Note:
This bit is read only and user can read UART_DAT (RX is in active) to clear it.
[3]
MODEMIF
MODEM Interrupt Flag (Read Only)
This bit is set when the nCTS pin has state change (CTSDETF (UART_MODEMSTS[0])
= 1). If MODEMIEN (UART_INTEN[3]) is enabled, the Modem interrupt will be generated.
0 = No Modem interrupt flag is generated.
1 = Modem interrupt flag is generated.
Note:
This bit is read only and reset to 0 when bit CTSDETF is cleared by a write 1 on
CTSDETF (UART_MODEMSTS[0]).
[2]
RLSIF
Receive Line Interrupt Flag (Read Only)
This bit is set when the RX receive data have parity error, frame error or break error (at
least one of 3 bits, BIF (UART_FIFOSTS[6]), FEF (UART_FIFOSTS[5]) and PEF
(UART_FIFOSTS[4]), is set). If RLSIEN (UART_INTEN[2]) is enabled, the RLS interrupt