Philips Semiconductors
ARM-based Microcontroller
9. GPIO
FEATURES
• Direction control of individual bits
• Separate control of output set and clear
• All I/O default to inputs after reset
APPLICATIONS
• General purpose I/O
• Driving LEDs, or other indicators
• Controlling off-chip devices
• Sensing digital inputs
PIN DESCRIPTION
Table 67: GPIO Pin Description
Pin Name
Type
P0.0 - P0.31
Input/
P1.16 - P1.31
Output
P2.0 - P2.31
Input/
P3.0 - P3.31
Output
REGISTER DESCRIPTION
LPC2119/2129/2194 has two 32-bit General Purpose I/O ports. Total of 30 out of 32 pins are available on PORT0. PORT1 has
up to 16 pins available for GPIO functions. PORT0 and PORT1 are controlled via two groups of 4 registers as shown in Table
68. LPC2292/2294 has two 32-bit additional ports, PORT2 and PORT3, and they are configured to be used either as external
memory data address and data bus, or as GPIOs sharing pins with a handful of digital and analog functions. Details on PORT2
and PORT3 usage can be found in Pin Configuration and Pin Connect Block chapters.
GPIO
General purpose input/output. The number of GPIOs actually available depends on the use of
alternate functions.
External bus data/address lines shared with GPIO, digital and analog functions. The number of
GPIOs/digital and analog functions actually available depends on the selected bus structure.
PORT2 and PORT3 are available in LPC2292/2294 only.
LPC2119/2129/2194/2292/2294
Description
134
Preliminary User Manual
May 03, 2004