XR16C2850CM48 EXAR [Exar Corporation], XR16C2850CM48 Datasheet - Page 21

no-image

XR16C2850CM48

Manufacturer Part Number
XR16C2850CM48
Description
3.3V AND 5V DUART WITH 128-BYTE FIFO
Manufacturer
EXAR [Exar Corporation]
Datasheet
XR16C2850
REV. 2.0.0
IER[0]: RHR Interrupt Enable
The receive data ready interrupt will be issued when
RHR has a data character in the non-FIFO mode or
when the receive FIFO has reached the programmed
trigger level in the FIFO mode.
• Logic 0 = Disable the receive data ready interrupt
• Logic 1 = Enable the receiver data ready interrupt.
IER[1]: THR Interrupt Enable
This bit enables the Transmit Ready interrupt which is
issued whenever the THR becomes empty in the non-
FIFO mode or when data in the FIFO falls below the
programmed trigger level in the FIFO mode. If the
THR is empty when this bit is enabled, an interrupt
will be generated.
• Logic 0 = Disable Transmit Ready interrupt
• Logic 1 = Enable Transmit Ready interrupt.
IER[2]: Receive Line Status Interrupt Enable
If any of the LSR register bits 1, 2, 3 or 4 is a logic 1,
it will generate an interrupt to inform the host control-
ler about the error status of the current data byte in
FIFO. LSR bits 1-4 generate an interrupt immediately
when the character has been received.
• Logic 0 = Disable the receiver line status interrupt
• Logic 1 = Enable the receiver line status interrupt.
IER[3]: Modem Status Interrupt Enable
• Logic 0 = Disable the modem status register inter-
• Logic 1 = Enable the modem status register inter-
IER[4]: Sleep Mode Enable (requires EFR bit-4 =
1)
• Logic 0 = Disable Sleep Mode (default).
• Logic 1 = Enable Sleep Mode. See Sleep Mode
IER[5]: Xoff Interrupt Enable (requires EFR bit-
4=1)
• Logic 0 = Disable the software flow control, receive
(default).
(default).
(default).
rupt (default).
rupt.
section for further details.
Xoff interrupt. (default)
3.3V AND 5V DUART WITH 128-BYTE FIFO
21
• Logic 1 = Enable the software flow control, receive
IER[6]: RTS# Output Interrupt Enable (requires
EFR bit-4=1)
• Logic 0 = Disable the RTS# interrupt (default).
• Logic 1 = Enable the RTS# interrupt. The UART
IER[7]: CTS# Input Interrupt Enable (requires EFR
bit-4=1)
• Logic 0 = Disable the CTS# interrupt (default).
• Logic 1 = Enable the CTS# interrupt. The UART
The UART provides multiple levels of prioritized inter-
rupts to minimize external software interaction. The
Interrupt Status Register (ISR) provides the user with
six interrupt status bits. Performing a read cycle on
the ISR will give the user the current highest pending
interrupt level to be serviced, others are queued up to
be serviced next. No other interrupts are acknowl-
edged until the pending interrupt is serviced. The In-
terrupt Source Table, Table 9, shows the data values
(bit 0-5) for the interrupt priority levels and the inter-
rupt sources associated with each of these interrupt
levels.
• LSR is by any of the LSR bits 1, 2, 3 and 4.
• RXRDY is by RX trigger level.
• RXRDY Time-out is by a 4-char plus 12 bits delay
• TXRDY is by TX trigger level or TX FIFO empty (or
• MSR is by any of the MSR bits 0, 1, 2 and 3.
• Receive Xoff/Special character is by detection of a
• CTS# is when its transmitter toggles the input pin
• RTS# is when its receiver toggles the output pin
4.4 I
4.4.1 Interrupt Generation:
Xoff interrupt. See Software Flow Control section
for details.
issues an interrupt when the RTS# pin makes a
transition from low to high.
issues an interrupt when CTS# pin makes a transi-
tion from low to high.
timer.
transmitter empty in auto RS-485 control).
Xoff or Special character.
(from low to high) during auto CTS flow control
enabled by EFR bit-7.
(from low to high) during auto RTS flow control
enabled by EFR bit-6.
O
NTERRUPT
NLY
S
TATUS
R
EGISTER
(ISR) - R
EAD
-

Related parts for XR16C2850CM48