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
118 of 464
NXP Semiconductors
UM10850
Chapter 10: LPC5410x Pin interrupt and pattern match (PINT)
10.4 Pin description
The inputs to the pin interrupt and pattern match engine are determined by the pin
interrupt select registers in the Input mux. See
Section 8.6.1 “Pin interrupt select
.
10.5 General description
Pins with configurable functions can serve as external interrupts or inputs to the pattern
match engine. Up to eight pins can be configured using the PINTSEL registers in the Input
mux block for these features.
10.5.1 Pin interrupts
From all available GPIO pins, up to eight pins can be selected in the system control block
to serve as external interrupt pins (see
). The external interrupt pins are
connected to eight individual interrupts in the NVIC and are created based on rising or
falling edges or on the input level on the pin.
10.5.2 Pattern match engine
The pattern match feature allows complex boolean expressions to be constructed from
the same set of eight GPIO pins that were selected for the GPIO pin interrupts. Each term
in the boolean expression is implemented as one slice of the pattern match engine. A slice
consists of an input selector and a detect logic that monitors the selected input
continuously and creates a HIGH output if the input qualifies as detected, that is as true.
Several terms can be combined to a minterm and a pin interrupt is asserted when the
minterm evaluates as true.
The detect logic of each slice can detect the following events on the selected input:
•
Edge with memory (sticky): A rising edge, a falling edge, or a rising or falling edge that
is detected at any time after the edge-detection mechanism has been cleared. The
input qualifies as detected (the detect logic output remains HIGH) until the pattern
match engine detect logic is cleared again.
Fig 11. Pin interrupt connections
L
L
('*(/(9(/
'(7(&7/2*,&
('*(/(9(/
'(7(&7/2*,&
3,176(/
3,176(/
DOOSLQV3,2>@BP
DOOSLQV3,2>@BP
,138708;
19,&SLQLQWHUUXSW
19,&SLQLQWHUUXSW