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
127 of 464
NXP Semiconductors
UM10850
Chapter 10: LPC5410x Pin interrupt and pattern match (PINT)
Remark:
note that the pattern match feature requires clocks in order to operate, and can
thus not generate an interrupt or wake up the device during reduced power modes below
Sleep mode.
10.6.12 Pattern Match Interrupt Bit-Slice Source register
The bit-slice source register specifies the input source for each of the eight pattern match
bit slices.
Each of the possible eight inputs is selected in the pin interrupt select registers in the
SYSCON block. See
. Input 0 corresponds to the pin selected in the
PINTSEL0 register, input 1 corresponds to the pin selected in the PINTSEL1 register, and
so forth.
Remark:
Writing any value to either the PMCFG register or the PMSRC register, or
disabling the pattern-match feature (by clearing both the SEL_PMATCH and ENA_RXEV
bits in the PMCTRL register to zeros) will erase all edge-detect history.
Table 167. Pattern match interrupt control register (PMCTRL, address 0x4001 8028)
bit description
Bit
Symbol
Value
Description
Reset
value
0
SEL_PMATCH
Specifies whether the 8 pin interrupts are controlled by the pin interrupt function or
by the pattern match function.
0
0
Pin interrupt. Interrupts are driven in response to the standard pin interrupt function.
1
Pattern match. Interrupts are driven in response to pattern matches.
1
ENA_RXEV
Enables the RXEV output to the CPU and/or to a GPIO output when the specified
boolean expression evaluates to true.
0
0
Disabled. RXEV output to the CPU is disabled.
1
Enabled. RXEV output to the CPU is enabled.
23:2 -
Reserved. Do not write 1s to unused bits.
0
31:2
4
PMAT
-
This field displays the current state of pattern matches. A 1 in any bit of this field
indicates that the corresponding product term is matched by the current state of the
appropriate inputs.
0x0
Table 168. Pattern match bit-slice source register (PMSRC, address 0x4001 802C) bit description
Bit
Symbol
Value Description
Reset
value
7:0
Reserved
Software should not write 1s to unused bits.
0
10:8
SRC0
Selects the input source for bit slice 0
0
0x0
Input 0. Selects the pin selected in the PINTSEL0 register as the source to bit slice 0.
0x1
Input 1. Selects the pin selected in the PINTSEL1 register as the source to bit slice 0.
0x2
Input 2. Selects the pin selected in the PINTSEL2 register as the source to bit slice 0.
0x3
Input 3. Selects the pin selected in the PINTSEL3 register as the source to bit slice 0.
0x4
Input 4. Selects the pin selected in the PINTSEL4 register as the source to bit slice 0.
0x5
Input 5. Selects the pin selected in the PINTSEL5 register as the source to bit slice 0.
0x6
Input 6. Selects the pin selected in the PINTSEL6 register as the source to bit slice 0.
0x7
Input 7. Selects the pin selected in the PINTSEL7 register as the source to bit slice 0.