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
141 of 464
NXP Semiconductors
UM10850
Chapter 11: LPC5410x Group GPIO input interrupt (GINT0/1)
11.4.1 Grouped interrupt control register
11.4.2 GPIO grouped interrupt port polarity registers
The grouped interrupt port polarity registers determine how the polarity of each enabled
pin contributes to the grouped interrupt. Each port is associated with its own port polarity
register, and the values of both registers together determine the grouped interrupt.
Each register PORT_POLm controls the polarity of pins in port m.
11.4.3 GPIO grouped interrupt port enable registers
The grouped interrupt port enable registers enable the pins which contribute to the
grouped interrupt. Each port is associated with its own port enable register, and the values
of both registers together determine which pins contribute to the grouped interrupt.
Each register PORT_ENm enables pins in port m.
Table 172. GPIO grouped interrupt control register (CTRL, addresses 0x4001 0000 (GINT0) and 0x4001 4000 (GINT1))
bit description
Bit
Symbol
Value
Description
Reset value
0
INT
Group interrupt status. This bit is cleared by writing a one to it. Writing zero has no
effect.
0
0
No request. No interrupt request is pending.
1
Request active. Interrupt request is active.
1
COMB
Combine enabled inputs for group interrupt
0
0
Or. OR functionality: A grouped interrupt is generated when any one of the enabled
inputs is active (based on its programmed polarity).
1
And. AND functionality: An interrupt is generated when all enabled bits are active
(based on their programmed polarity).
2
TRIG
Group interrupt trigger
0
0
Edge-triggered.
1
Level-triggered.
31:3
-
-
Reserved. Read value is undefined, only zero should be written.
0
Table 173. GPIO grouped interrupt port polarity registers (PORT_POL[0:1], addresses 0x4001 0020 (PORT_POL0) to
0x4001 0024 (PORT_POL1) (GINT0) and 0x4001 4020 (PORT_POL0) to 0x4001 4024 (PORT_POL1)
(GINT1)) bit description
Bit
Symbol
Description
Reset value Access
31:0
POL
Configure pin polarity of port m pins for group interrupt. Bit n corresponds to pin
PIOm_n of port m.
0 = the pin is active LOW. If the level on this pin is LOW, the pin contributes to
the group interrupt.
1 = the pin is active HIGH. If the level on this pin is HIGH, the pin contributes to
the group interrupt.
1
-