
NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 461 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
[9]
THRE_INT
Transmit Holding Register Empty Interrupt Indicator (Read Only)
This bit is set if THRE_IEN(UA_IER[1]) and THRE_IF(UA_ISR[1]) are both set to 1.
0 = No THRE interrupt is generated.
1 = THRE interrupt is generated.
[8]
RDA_INT
Receive Data Available Interrupt Indicator (Read Only)
This bit is set if RDA_IEN(UA_IER[0]) and RDA_IF(UA_ISR[0]) are both set to 1.
0 = No RDA interrupt is generated.
1 = RDA interrupt is generated.
[7]
LIN_ IF
LIN Bus Flag (Read Only)
This bit is set when LIN slave header detect (LINS_HDET_F(UA_LIN_SR[0]) = 1), LIN
break detect (LIN_BKDET_F(UA_LIN_SR[8]) = 1), bit error detect
(BIT_ERR_F(UA_LIN_SR[9]) = 1), LIN slave ID parity error
(LINS_IDPERR_F(UA_LIN_SR[2])) or LIN slave header error detect
(LINS_HERR_F(UA_LIN_SR[1])) If LIN_RX_BRK_IEN(UA_IER[8]) is enabled the LIN
interrupt will be generated.
Note:
This bit is cleared when both LINS_HDET_F(UA_LIN_SR[0]) and
LIN_BKDET_F(UA_LIN_SR[8]) and BIT_ERR_F(UA_LIN_SR[9]) and
LINS_IDPENR_F(UA_LIN_SR[2]) and LINS_HERR_F(UA_LIN_SR[1]) are cleared
[6]
Reserved
Reserved.
[5]
BUF_ERR_IF
Buffer Error Interrupt Flag (Read Only)
This bit is set when the TX or RX FIFO overflows (TX_OVER_IF(UA_FSR[24])) or
RX_OVER_IF(UA_FSR[0]) is set). When BUF_ERR_IF is set, the transfer maybe is not
correct. If BUF_ERR_IEN(UA_IER[5]) is enabled, the buffer error interrupt will be
generated.
Note:
This bit is cleared when both TX_OVER_IF(UA_FSR[24]) and
RX_OVER_IF(UA_FSR[0]) are cleared.
[4]
TOUT_IF
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. If RTO_IEN(UA_IER[4]) is enabled, the Time-out
interrupt will be generated.
Note:
This bit is read only and user can read UA_RBR (RX is in active) to clear it.
[3]
MODEM_IF
MODEM Interrupt Flag (Read Only)
This bit is set when the CTS pin has state change (DCTSF=1). If
MODEM_IEN(UA_IER[3]) is enabled, the Modem interrupt will be generated.
Note:
This bit is read only and reset to 0 when bit DCTSF is cleared by a write 1 on
DCTSF.
[2]
RLS_IF
Receive Line Interrupt Flag (Read Only)
This bit is set when the RX receive data have parity error, framing error or break error (at
least one of 3 bits, BIF(UA_FSR[6]), FEF(UA_FSR[5]) and PEF(UA_FSR[4]), is set). If
RLS_IEN(UA_IER[2]) is enabled, the RLS interrupt will be generated.
Note:
In RS-
485 function mode, this field include “receiver detect any address byte
received address byte character (bit9 = ‘1’) bit".
Note:
In SC function mode, this field includes “error retry over flag ".
Note:
This bit is read only and reset to 0 when all bits of BIF(UA_FSR[6]),
FEF(UA_FSR[5]) and PEF(UA_FSR[4]) are cleared.
[1]
THRE_IF
Transmit Holding Register Empty Interrupt Flag (Read Only)
This bit is set when the last data of TX FIFO is transferred to Transmitter Shift Register. If
THRE_IEN(UA_IER[1]) is enabled, the THRE interrupt will be generated.
Note:
This bit is read only and it will be cleared when writing data into THR (TX FIFO not
empty).