15.11.2012 Views

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Philips Semiconductors Preliminary <strong>User</strong> <strong>Manual</strong><br />

ARM-based Microcontroller<br />

8. GPIO<br />

FEATURES<br />

Direction control of individual bits<br />

Separate control of output set and clear<br />

All I/O default to inputs after reset<br />

APPLICATIONS<br />

General purpose I/O<br />

Driving LEDs, or other indicators<br />

Controlling off-chip devices<br />

Sensing digital inputs<br />

PIN DESCRIPTION<br />

Table 54: GPIO Pin Description<br />

Pin Name Type Description<br />

P0.0 - P0.31<br />

P1.16 - P1.31<br />

Input/<br />

Output<br />

REGISTER DESCRIPTION<br />

<strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong><br />

General purpose input/output. The number of GPIOs actually available depends on the use of<br />

alternate functions.<br />

<strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong> has two 32-bit General Purpose I/O ports. Total of 30 input/output and a single output only pin out of 32<br />

pins are available on PORT0. PORT1 has up to 16 pins available for GPIO functions. PORT0 and PORT1 are controlled via two<br />

groups of 4 registers as shown in Table 55.<br />

GPIO 85 November 22, 2004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!