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
142 of 464
NXP Semiconductors
UM10850
Chapter 11: LPC5410x Group GPIO input interrupt (GINT0/1)
11.5 Functional description
Any subset of the pins in each port can be selected to contribute to a common group
interrupt (GINT) and can be enabled to wake the part up from Deep-sleep mode or
Power-down mode.
An interrupt can be requested for each port, based on any selected subset of pins within
each port. The pins that contribute to each port interrupt are selected by 1s in the port’s
Enable register, and an interrupt polarity can be selected for each pin in the port’s Polarity
register. The level on each pin is exclusive-ORed with its polarity bit, and the result is
ANDed with its enable bit. These results are then inclusive-ORed among all the pins in the
port to create the port’s raw interrupt request.
The raw interrupt request from each of the two group interrupts is sent to the NVIC, which
can be programmed to treat it as level- or edge-sensitive, or it can be edge-detected by
the wake-up interrupt logic (see
Table 174. GPIO grouped interrupt port enable registers (PORT_ENA[0:1], addresses 0x4001 0040 (PORT_ENA0) to
0x4001 0044 (PORT_ENA1) (GINT0) and 0x4001 4040 (PORT_ENA0) to 0x4001 4044 (PORT_ENA1)
(GINT1)) bit description
Bit
Symbol
Description
Reset value Access
31:0
ENA
Enable port 0 pin for group interrupt. Bit n corresponds to pin Pm_n of port m.
0 = the port 0 pin is disabled and does not contribute to the grouped interrupt.
1 = the port 0 pin is enabled and contributes to the grouped interrupt.
0
-