LPC47S457-NC SMSC [SMSC Corporation], LPC47S457-NC Datasheet - Page 65

no-image

LPC47S457-NC

Manufacturer Part Number
LPC47S457-NC
Description
Advanced I/O with X-Bus Interface
Manufacturer
SMSC [SMSC Corporation]
Datasheet
Bit 6,7
These bits are used to set the trigger level for the RCVR FIFO interrupt.
Interrupt Identification Register (IIR)
Address Offset = 2H, DLAB = X, READ
By accessing this register, the host CPU can determine the highest priority interrupt and its source. Four levels of
priority interrupt exist. They are in descending order of priority:
1.
2.
3.
4.
Information indicating that a prioritized interrupt is pending and the source of that interrupt is stored in the Interrupt
Identification Register (refer to Interrupt Control Table). When the CPU accesses the IIR, the Serial Port freezes all
interrupts and indicates the highest priority pending interrupt to the CPU. During this CPU access, even if the Serial Port
records new interrupts, the current indication does not change until access is completed. The contents of the IIR are
described below.
Bit 0
This bit can be used in either a hardwired prioritized or polled environment to indicate whether an interrupt is pending.
When bit 0 is a logic "0", an interrupt is pending and the contents of the IIR may be used as a pointer to the appropriate
internal service routine. When bit 0 is a logic "1", no interrupt is pending.
Bits 1 and 2
These two bits of the IIR are used to identify the highest priority interrupt pending as indicated by the Interrupt Control
Table.
Bit 3
In non-FIFO mode, this bit is a logic "0". In FIFO mode this bit is set along with bit 2 when a timeout interrupt is pending.
Bits 4 and 5
These bits of the IIR are always logic "0".
Bits 6 and 7
These two bits are set when the FIFO CONTROL Register bit 0 equals 1.
SMSC DS – LPC47S45x
Receiver Line Status (highest priority)
Received Data Ready
Transmitter Holding Register Empty
MODEM Status (lowest priority)
MODE
ONLY
BIT 3
FIFO
0
0
BIT 2
IDENTIFICATION
0
1
INTERRUPT
REGISTER
BIT 1
0
1
BIT 0
Bit 7
1
0
0
0
1
1
Table 29 − Interrupt Control Table
PRIORITY
Highest
LEVEL
DATASHEET
-
Bit 6
0
1
0
1
Page 65 of 259
INTERRUPT SET AND RESET FUNCTIONS
None
Receiver Line
Status
INTERRUPT
TYPE
Trigger Level (BYTES)
RCVR FIFO
14
None
Overrun Error,
Parity Error,
Framing Error or
Break Interrupt
1
4
8
INTERRUPT
SOURCE
Reading the Line
Status Register
INTERRUPT
CONTROL
RESET
-
Rev. 07/09/2001

Related parts for LPC47S457-NC