Table 67: Gpio Register Map - Philips LPC2194 User Manual

Table of Contents

Advertisement

Philips Semiconductors
ARM-based Microcontroller
Table 68: GPIO Register Map
Generic
Description
Name
GPIO Port Pin value register. The
current state of the GPIO configured
port pins can always be read from this
register, regardless of pin direction
IOPIN
and mode.
Activity on non-GPIO configured pins
will not be reflected in this register.
GPIO Port Output set register. This
register controls the state of output
pins in conjunction with the IOCLR
IOSET
register. Writing ones produces highs
at the corresponding port pins. Writing
zeroes has no effect.
GPIO Port Direction control register.
IODIR
This register individually controls the
direction of each port pin.
GPIO Port Output clear register. This
register controls the state of output
pins. Writing ones produces lows at
IOCLR
the corresponding port pins and
clears the corresponding bits in the
IOSET register. Writing zeroes has no
effect.
GPIO
PORT0
Reset
Access
Address &
Value
Name
Read
0xE0028000
NA
Only
IO0PIN
0x0000
Read/
0xE0028004
0000
Write
IO0SET
0x0000
Read/
0xE0028008
0000
Write
IO0DIR
0x0000
Write
0xE002800C
0000
Only
IO0CLR
135
Preliminary User Manual
LPC2119/2129/2194/2292/2294
PORT1
PORT2
Address &
Address &
Name
Name
0xE0028010
0xE0028020
IO1PIN
IO2PIN
0xE0028014
0xE0028024
IO1SET
IO2SET
0xE0028018
0xE0028028
IO1DIR
IO2DIR
0xE002801C
0xE002802C
IO1CLR
IO2CLR
PORT3
Address &
Name
0xE0028030
IO3PIN
0xE0028034
IO3SET
0xE0028038
IO3DIR
0xE002803C
IO3CLR
May 03, 2004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2119Lpc2292Lpc2294

Table of Contents