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
139 of 464
11.1 Features
•
The inputs from any number of digital pins can be enabled to contribute to a combined
group interrupt.
•
The polarity of each input enabled for the group interrupt can be configured HIGH or
LOW.
•
Enabled interrupts can be logically combined through an OR or AND operation.
•
Two group interrupts are supported to reflect two distinct interrupt patterns.
•
The grouped interrupts can wake up the part from sleep, deep-sleep or power-down
modes.
11.2 Basic configuration
For the group interrupt feature, enable the clock to both the GROUP0 and GROUP1
register interfaces in the AHBCLKCTRL0 register ((
). The group interrupt
wake-up feature is enabled in the STARTER0 register for GINT0 and the STARTER1
register for GINT1 (
and
respectively).
The pins can be configured as GPIO pins through IOCON, but they don’t have to be. The
GINT block reads the input from the pin bypassing IOCON multiplexing. Make sure that no
analog function is selected on pins that are input to the group interrupts. Selecting an
analog function in IOCON disables the digital pad and the digital signal is tied to 0.
11.3 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.
For each port/pin connected to one of the two the GPIO Grouped Interrupt blocks
(GROUP0 and GROUP1), the GPIO grouped interrupt registers determine which pins are
enabled to generate interrupts and what the active polarities of each of those inputs are.
The GPIO grouped interrupt registers also select whether the interrupt output will be level
or edge triggered and whether it will be based on the OR or the AND of all of the enabled
inputs.
When the designated pattern is detected on the selected input pins, the GPIO grouped
interrupt block generates an interrupt. If the part is in a power-savings mode, it l first
asynchronously wakes the part up prior to asserting the interrupt request. The interrupt
request line can be cleared by writing a one to the interrupt status bit in the control
register.
UM10850
Chapter 11: LPC5410x Group GPIO input interrupt (GINT0/1)
Rev. 2.4 — 13 September 2016
User manual