UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
107 of 464
9.1 How to read this chapter
GPIO registers support up to 32 pins on each port. Depending on the device and package
type, a subset of those pins may be available, and the unused bits in GPIO registers are
reserved (see
9.2 Basic configuration
For the GPIO port registers, enable the clock to each GPIO port in the AHBCLKCTRL0
register (
9.3 Features
•
GPIO pins can be configured as input or output by software.
•
All GPIO pins default to inputs with interrupt disabled at reset.
•
Pin registers allow pins to be sensed and set individually.
9.4 General description
The GPIO pins can be used in several ways to set pins as inputs or outputs and use the
inputs as combinations of level and edge sensitive interrupts.
The GPIOs can be used as external interrupts together with the pin interrupt and group
interrupt blocks, see
and
The GPIO port registers configure each GPIO pin as input or output and read the state of
each pin if the pin is configured as input or set the state of each pin if the pin is configured
as output.
UM10850
Chapter 9: LPC5410x General Purpose I/O (GPIO)
Rev. 2.4 — 13 September 2016
User manual
Table 133. GPIO pins available
Package
Total GPIOs GPIO Port 0
GPIO Port 1
64-pin device with RTC oscillator
48
PIO0_0 to PIO0_1, PIO0_4 to POI0_31
PIO1_0 to PIO1_17
49-pin device with RTC oscillator
39
PIO0_0 to PIO0_1, PIO0_4 to POI0_31
PIO1_0 to PIO1_8