SMSC DS – LPC47M192
Page 115
Rev. 03/30/05
DATASHEET
QFP
PIN#
DEFAULT
FUNCTION
ALT. FUNC. 1
ALT.
FUNC. 2
ALT.
FUNC. 3
DATA
REGISTER
1
DATA
REGISTER
BIT NO.
7
0
1
2
3
4
5
6
7
0
1
2
REGISTER
OFFSET
(HEX)
4D
50
51
52
54
55
61
62
63
64
1
2
17
GPIO
GPIO
GPIO
GPIO
GPIO
Infrared Rx
Infrared Tx
GPIO
GPIO
GPIO
GPIO
GPIO
SMI Output
Fan Tachometer 2
Fan Tachometer 1
Fan Speed Control 2
Fan Speed Control 1
GPIO
GPIO
Keyboard Reset
Gate A20
Drive Density Select 0
Drive Density Select 1
Power Management
Event
Device Disable Reg.
Control
Ring Indicator 2
Data Carrier Detect 2
Receive Serial Data 2
Transmit Serial Data 2
Data Set Ready 2
Request to Send 2
Clear to Send 2
Date Terminal Ready
LED
LED
GP3
EETI
28
GPIO
EETI
3
N/A
92
94
95
96
97
98
99
100
48
49
N/A
Reserved
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
Reserved
GP4
7:4
0
1
2
3
4
5
6
7
0
1
7:2
4E
GP5
4F
EETI
EETI
GP6
50
Note 1:
The GPIO Data and Configuration Registers are located in PME block at the offset shown from
PME_BLK address.
7.12.3 GPIO CONTROL
Each GPIO port has an 8-bit control register that controls the behavior of the pin. These registers are defined in the
“Runtime Registers” section of this specification.
Each GPIO port may be configured as either an input or an output. If the pin is configured as an output, it can be
programmed as open-drain or push-pull. Inputs and outputs can be configured as non-inverting or inverting. Bit[0] of
each GPIO Configuration Register determines the port direction, bit[1] determines the signal polarity, and bit[7]
detemines the output driver type select. The GPIO configuration register Output Type select bit[7] applies to GPIO
functions and the nSMI Alternate functions.
The Polarity Bit (bit 1) of the GPIO control registers control the GPIO pin when the pin is configured for the GPIO
function and when the pin is configured for the alternate function for all pins, with the exception of the DDRC function
on GP43, the analog game port pins (J1X, J1Y, J2X, J2Y) and the either edge triggered interrupts. When the
alternate function is selected for the analog joystick pins (GP14, GP15, GP16 and GP17), these pins become open
drain, non-inverted outputs.
The basic GPIO configuration options are summarized in Table 54.
the
Table 54 - GPIO Configuration Summary
SELECTED
FUNCTION
DIRECTION
BIT
B0
0
0
1
1
POLARITY
BIT
B1
0
1
0
1
DESCRIPTION
Pin is a non-inverted output.
Pin is an inverted output.
Pin is a non-inverted input.
Pin is an inverted input.
GPIO