Universal Asynchronous Receiver/Transmitter (UART)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
287
Interrupt Type: Receiver Line Status
Interrupt Source: Parity, overrun or framing errors or break interrupt
Interrupt Reset Control: Reading the LSR
3’b010:
Interrupt Priority: 2nd priority (int_2)
Interrupt Type: Receiver Data Available or trigger level reached
Interrupt Source: FIFO Trigger level reached or Rx FIFO full
Interrupt Reset Control: FIFO drops below trigger level (depending on FCR[7:6])
3’b110:
Interrupt Priority: 2nd priority
Interrupt Type: Timeout Indication
Interrupt Source: There’s at least one character in the FIFO but no character has
been input to the FIFO or reading from it for the time duration, which depends on
the value in register REG_RX_PATH_CTRL[31:16].
Interrupt Reset Control: Reading the RBR or clearing Rx FIFO
3’b001:
Interrupt Priority: 3rd priority
Interrupt Type: Tx FIFO empty
Interrupt Source: Tx FIFO empty
Interrupt Reset Control: Writing to the Tx FIFO (THR) or reading the IIR (if source of
interrupt)
3’b000:
Interrupt Priority: 4th priority
Interrupt Type: Modem Status
Interrupt Source: CTS, DSR, RI, or DCD (input relative signal)
Interrupt Reset Control: Reading the MSR
3’b100:
Interrupt Priority: 5th priority (int_4)
Interrupt Type: monitor done flag
Interrupt Source: Rx path monitor done interrupt
Interrupt Reset Control: Reading the BAUD_MON
0
INT_PEND
R
1
0: An interrupt is pending and the IIR contents may be used as a pointer to the
appropriate interrupt service routine.
1: No interrupt is pending.
14.2.3
LCR
Name:
Line Control Register
Size:
32 bits
Address offset:
0x000C
Read/write access:
read/write
31
30
29
…
10
9
8
RSVD
7
6
5
4
3
2
1
0
DLAB
BREAK_CTRL
STICK_PARITY
EVEN_PARITY_SEL
PARITY_EN
STB
RSVD
WSL0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Access
Reset
Description
31:8
RSVD
N/A
-
Reserved
7
DLAB
R/W
0
Divisor Latch Access bit
0: The divisor latches can’t be accessed.
1: The divisor latches can be accessed.
Note
:
DLL/DLM only can be access when DLAB = 1.
IER only can be access when DLAB = 0.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03