English
Language : 

PC87591E Datasheet, PDF (278/437 Pages) National Semiconductor (TI) – LPC Mobile Embedded Controllers
5.0 Host Controller Interface Modules (Continued)
The Host configuration module assigns host interrupts to IRQ numbers (see Section 6.1.10 on page 348). These interrupts
are IRQ1 and IRQ12 for keyboard and mouse IRQs, respectively.
When IRQ1 and/or IRQ12 are disabled (OBFKIE and/or OBFMIE bits in HICTRL register are cleared), the firmware can con-
trol the IRQ1 and/or IRQ12 signals by writing to the signal’s respective bit in HIIRQC register.
When IRQ1 and/or IRQ12 are controlled by hardware (OBFKIE and/or OBFMIE bits in HICTRL register are set to 1), inter-
rupts to the host are generated according to the status of Output Buffer Full (OBF) flag.
In normal polarity mode (IRQNPOL in HIIRQC register is set to 0), the PC87591x supports two types of interrupts: Legacy
Edge and Level. When an Edge interrupt is selected (IRQM in HIIRQC register is set), the interrupt signal default value is
high (1). When an interrupt signal must be sent (i.e., the corresponding OBF flag is set), a negative pulse is generated. The
pulse width is determined by IRQM field in HIIRQC register.
When the IRQ signals are set as level interrupts (IRQM in HIIRQC register is set to 0), the interrupt signal is usually low (0)
and is asserted (1) to indicate that the respective OBF flag is set. The signal is de-asserted (0) when the output buffer is read
(i.e., OBF flag is cleared).
Note that IRQ1 and IRQ12 have the same OBF flag but are not asserted together. Either IRQ1 or IRQ12 is set, depending
on the internal register written (HIKDO or HIMDO, respectively).
In negative polarity mode (IRQNPOL in HIIRQC register is set to1), the IRQ signal behavior is inverted from the behavior
described above.
The PC87591x firmware can read the values of the IRQ1 and IRQ12 signals by performing a read operation from IRQ1B
and IRQ12B bits in HIIRQC register.
Figure 93 illustrates the effect of the different control bits on the IRQ signals.
IRQM field (HIIRQ)
IRQNPOL bit (HIIRQC)
1
Hardware
Interrupt
0
IRQxB bit (HIIRQC)
(write)
IRQxB bit (HIIRQC)
OBFMIE or OBFKIE bit
(HICTRL)
1
IRQ Routing
and Polarity
IRQ Serializer
0
(Part of SuperI/O
Configuration
Module)
IRQ
Serializer
IRQxB bit (HIIRQC)
(read)
Figure 93. IRQx (IRQ1, IRQ11 or IRQ12) Control Diagram
Keyboard/Mouse Channel (6016, 6416)
The Host Interface of the PC87591x is compatible with the legacy 8042 host interface. It is based on two registers: Com-
mand/Data and Status. The Host Interface logic generates interrupts to the host processor and core according to the status
of the input and output data buffers. Figure 94 provides a schematic description of the Host Interface Keyboard/Mouse chan-
nel.
www.national.com
278
Revision 1.07