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
120 of 464
NXP Semiconductors
UM10850
Chapter 10: LPC5410x Pin interrupt and pattern match (PINT)
The pattern match logic continuously monitors the eight inputs and generates interrupts
when any one or more minterms (product terms) of the specified boolean expression is
matched. A separate interrupt request is generated for each individual minterm.
In addition, the pattern match module can be enabled to generate a Receive Event
(RXEV) output to the ARM core when the entire boolean expression is true (i.e. when any
minterm is matched).
The pattern match function utilizes the same eight interrupt request lines as the pin
interrupts so these two features are mutually exclusive as far as interrupt generation is
concerned. A control bit is provided to select whether interrupt requests are generated in
response to the standard pin interrupts or to pattern matches. Note that, if the pin
interrupts are selected, the RXEV request to the CPU can still be enabled for pattern
matches.
Remark:
Pattern matching cannot be used to wake the part up from power-down modes.
Pin interrupts must be selected in order to use the GPIO for wake-up.
The pattern match module is constructed of eight bit-slice elements. Each bit slice is
programmed to represent one component of one minterm (product term) within the
boolean expression. The interrupt request associated with the last bit slice for a particular
minterm will be asserted whenever that minterm is matched.
(See bit slice drawing
The pattern match capability can be used to create complex software state machines.
Each minterm (and its corresponding individual interrupt) represents a different transition
event to a new state. Software can then establish the new set of conditions (that is a new
boolean expression) that will cause a transition out of the current state.
Fig 13. Pattern match bit slice with detect logic
08;
,1
3065&
,QWUB5HTL
5LVH 'HWHFW
VWLFN\ ZLWK V\QFK
FOHDU
,1
,1
,1
,1
,1
,1
,1
)DOO 'HWHFW
VWLFN\ ZLWK V\QFK
FOHDU
5LVH 'HWHFW
QRQVWLFN\
)DOO 'HWHFW
QRQVWLFN\
08;
30&)*
)URP 3UHYLRXV
6OLFH
3URGB(QGSWVL
7R 1H[W 6OLFH
&)*L
65&L
30&)*
3DWWHUQB0DWFKL