English
Language : 

LPC47M182 Datasheet, PDF (130/223 Pages) SMSC Corporation – ADVANCED I/O CONTROLLER WITH MOTHERBOARD GLUE LOGIC
Advanced I/O Controller with Motherboard GLUE Logic
Datasheet
7.27.4 GPIO Operation
The operation of the GPIO ports is illustrated in Figure 7.4.
GPIO
Configuration
Register bit-1
(Polarity)
GPIO
Configuration
Register bit-0
(Input/Output)
SD-bit
GPx_nIOW
D-TYPE
DQ
Transparen
0
t
QD
1
GPx_nIOR
GPIO
Data Register
Bit-n
GPIO
PIN
Note:
Figure 7.4 – GPIO Function Illustration
Figure 7.4 is for illustration purposes only and is not intended to suggest specific implementation details.
When a GPIO port is programmed as an input, reading it through the GPIO data register latches either the
inverted or non-inverted logic value present at the GPIO pin. Writing to a GPIO port that is programmed
as an input has no effect (Table 7.19)
When a GPIO port is programmed as an output, the logic value or the inverted logic value that has been
written into the GPIO data register is output to the GPIO pin. Reading from a GPIO port that is
programmed as an output returns the last value written to the data register (Table 7.19). When the GPIO
is programmed as an output, the pin is excluded from the PME logic.
Table 7.19 – GPIO Read/Write Behavior
HOST OPERATION
READ
WRITE
GPIO INPUT PORT
LATCHED VALUE OF GPIO PIN
NO EFFECT
GPIO OUTPUT PORT
LAST WRITE TO GPIO DATA REGISTER
BIT PLACED IN GPIO DATA REGISTER
Revision 1.8 SMSC/Non-SMSC Register Sets (02-24-05)
130
DATASHEET
SMSC LPC47M182