English
Language : 

PC87309 Datasheet, PDF (108/192 Pages) National Semiconductor (TI) – PC87309 SuperI/O Plug and Play Compatible Chip in Compact 100-Pin VLJ Packaging
Enhanced Serial Port with IR -UART2 (Logical Device 2)
5.11.1 Receiver Data Port (RXD) or the Transmitter
Data Port (TXD)
These ports share the same address.
RXD is accessed during CPU read cycles. It is used to read
data from the Receiver Holding Register when the FIFOs
are disabled, or from the bottom of the RX_FIFO when the
FIFOs are enabled.
Receiver Data Port (RXD)
76543210
Receiver Data
Reset
Port (RXD)
Bank 0,
Required
Offset 00h
Received Data
Bits 7-0 - Received Data
Used to access the Receiver Holding Register when the
FIFOs are disabled, or the bottom of the RX_FIFO when
the FIFOs are enabled.
TXD is accessed during CPU write cycles. It is used to write
data to the Transmitter Holding Register when the FIFOs
are disabled, or to the TX_FIFO when the FIFOs are en-
abled.
DMA cycles always access the TXD and RXD ports, regard-
less of the selected bank.
Transmitter Data Port (TXD)
76543210
Transmitter Data
Reset
Port (TXD)
Bank 0,
Required
Offset 00h
Transmitted Data
Bits 7-0 - Transmitted Data
Used to access the Transmitter Holding Register when
the FIFOs are disabled or the top of TX_FIFO when the
FIFOs are enabled.
5.11.2 Interrupt Enable Register (IER)
This register controls the enabling of various interrupts.
Some interrupts are common to all operating modes of the
module, while others are mode specific. Bits 4 to 7 can be
set in Extended mode only. They are cleared in Non-Ex-
tended mode. The bits of the Interrupt Enable Register
(IER) are defined differently, depending on the operating
mode of the module.
The different modes can be divided into the following four
groups:
q Non-Extended (which includes UART, Sharp-IR and
SIR).
q UART and Sharp-IR in Extended mode.
q SIR in Extended mode.
q Consumer-IR.
The following sections describe the bits in this register for
each of these modes.
The reset mode for the IER is the Non-Extended UART
mode.
When edge-sensitive interrupt triggers are employed, user is
advised to clear all IER bits immediately upon entering the in-
terrupt service routine and to re-enable them prior to exiting
(or alternatively, to disable CPU interrupts and re-enable pri-
or to exiting). This will guarantee proper interrupt triggering in
the interrupt controller in case one or more interrupt events
occur during execution of the interrupt routine.
If the LSR, MSR or EIR registers are to be polled, interrupt
sources which are identified by self-clearing bits should
have their corresponding IER bits set to 0, to prevent spuri-
ous pulses on the interrupt output pin.
If an interrupt source must be disabled, the CPU can do so
by clearing the corresponding bit in the IER register. How-
ever, if an interrupt event occurs just before the correspond-
ing enable bit in the IER register is cleared, a spurious
interrupt may be generated. To avoid this problem, the
clearing of any IER bit should be done during execution of
the interrupt service routine. If the interrupt controller is pro-
grammed for level-sensitive interrupts, the clearing of IER
bits can also be performed outside the interrupt service rou-
tine, but with the CPU interrupt disabled.
Interrupt Enable Register (IER), in the Non-Extended
Modes (UART, SIR and Sharp-IR)
Upon reset, the IER supports UART, SIR and Sharp-IR in
the Non-Extended modes. See the bitmap of the Interrupt
Enable Register in these modes.
IER in Non-Extended Modes
76543210
Interrupt Enable
0 0 0 0 0 0 0 0 Reset
Register (IER)
Bank 0,
Required
Offset 01h
RXHDL_IE
TXLDL_IE
LS_IE
MS_IE
Reserved
Reserved
Reserved
Reserved
Bit 0 - Receiver High-Data-Level Interrupt Enable
(RXHDL_IE)
Setting this bit enables interrupts on Receiver High-
Data-Level, or RX_FIFO Time-Out events (EIR Bits 3-0
are 0100 or 1100. See Table 5-3 on page 110).
www.national.com
108