
M0A21/M0A23 Series
May 06, 2022
Page
462
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
0 = No RLS interrupt is generated in PDMA mode.
1 = RLS interrupt is generated in PDMA mode.
[25]
Reserved
Reserved.
[24]
SWBEINT
Single-wire Bit Error Detect Interrupt Indicator (Read Only)
This bit is set if SWBEIEN (UART_INTEN[16]) and SWBEIF (UART_INTSTS[16]) are both
set to 1.
0 = No Single-wire Bit Error Detection Interrupt generated.
1 = Single-wire Bit Error Detection Interrupt generated.
[23]
Reserved
Reserved.
[22]
TXENDIF
Transmitter Empty Interrupt Flag
This bit is set when TX FIFO (UART_DAT) is empty and the STOP bit of the last byte has
been
transmitted
(TXEMPTYF
(UART_FIFOSTS[28])
is
set).
If
TXENDIEN
(UART_INTEN[22]) is enabled, the Transmitter Empty interrupt will be generated.
0 = No transmitter empty interrupt flag is generated.
1 = Transmitter empty interrupt flag is generated.
Note:
This bit is cleared automatically when TX FIFO is not empty or the last byte
transmission has not completed.
[21]
HWBUFEIF
PDMA Mode Buffer Error Interrupt Flag (Read Only)
This bit is set when the TX or RX FIFO overflows (TXOVIF (UART_FIFOSTS[24]) or
RXOVIF (UART_FIFOSTS[0]) is set). When
BUFERRIF (UART_INTSTS[5]) is set, the
transfer maybe 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 in PDMA mode.
1 = Buffer error interrupt flag is generated in PDMA mode.
Note:
This bit is cleared when both TXOVIF (UART_FIFOSTS[24]]) and RXOVIF
(UART_FIFOSTS[0]) are cleared.
[20]
HWTOIF
PDMA Mode 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 in PDMA mode.
1 = RX time-out interrupt flag is generated in PDMA mode.
Note:
This bit is read only and user can read UART_DAT (RX is in active) to clear it.
[19]
HWMODIF
PDMA Mode 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 in PDMA mode.
1 = Modem interrupt flag is generated in PDMA mode.
Note:
This bit is read only and reset to 0 when the bit CTSDETF (UART_MODEMSTS[0])
is cleared by writing 1 on CTSDETF (UART_MODEMSTS[0]).
[18]
HWRLSIF
PDMA Mode Receive Line Status 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
will be generated.
0 = No RLS interrupt flag is generated in PDMA mode.
1 = RLS interrupt flag is generated in PDMA mode.
Note1:
In RS-
485 function mode, this field include “receiver detect any address byte
received address byte character (bit9 = ‘1’) bit".
Note2:
In UART function mode, this bit is read only and reset to 0 when all bits of BIF
(UART_FIFOSTS[6]), FEF (UART_FIFOSTS[5]) and PEF (UART_FIFOSTS[4]) are