English
Language : 

LPC47M172_07 Datasheet, PDF (114/226 Pages) SMSC Corporation – Advanced I/O Controller with Motherboard GLUE Logic
Advanced I/O Controller with Motherboard GLUE Logic
Datasheet
7.25 8042 Keyboard Controller Description
The LPC47M172 is a Super I/O and Universal Keyboard Controller that is designed for intelligent keyboard
management in desktop computer applications. The Universal Keyboard Controller uses an 8042
microcontroller CPU core. This section concentrates on the LPC47M172 enhancements to the 8042. For
general information about the 8042, refer to the “Hardware Description of the 8042” in the 8-Bit Embedded
Controller Handbook.
8042A
P27
P10
P26
TST0
P23
TST1
P22
P11
LS05
KDAT
KCLK
MCLK
MDAT
Keyboard and Mouse Interface
KIRQ is the Keyboard IRQ
MIRQ is the Mouse IRQ
Port 21 is used to create a GATEA20 signal from the LPC47M172.
7.25.1 Keyboard Interface
The LPC47M172 LPC interface is functionally compatible with the 8042 style host interface. It consists of
the D0-7 data signals; the read and write signals and the Status register, Input Data register, and Output
Data register. Table 7.10 shows how the interface decodes the control signals. In addition to the above
signals, the host interface includes keyboard and mouse IRQs.
Note 1:
Table 7.10 - I/O Address Map
ADDRESS
0x60
0x64
COMMAND
Write
Read
Write
Read
BLOCK
KDATA
KDATA
KDCTL
KDCTL
FUNCTION (NOTE 1)
Keyboard Data Write (C/D=0)
Keyboard Data Read
Keyboard Command Write (C/D=1)
Keyboard Status Read
These registers consist of three separate 8 bit registers. Status, Data/Command Write and Data Read.
SMSC/Non-SMSC Register Sets (Rev. 01-11-07)
Page 114
DATASHEET
SMSC LPC47M172