![NXP Semiconductors LPC84x User Manual Download Page 225](http://html.mh-extra.com/html/nxp-semiconductors/lpc84x/lpc84x_user-manual_1721742225.webp)
UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
225 of 515
NXP Semiconductors
UM11029
Chapter 13: LPC84x Pin interrupts/pattern match engine
Remark:
Set up the pattern-match configuration in the PMSRC and PMCFG registers
before writing to this register to enable (or re-enable) the pattern-match functionality. This
eliminates the possibility of spurious interrupts as the feature is being enabled.
13.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 279. Pattern match interrupt control register (PMCTRL, address 0xA000 4028)
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 ARM 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:24 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 280. Pattern match bit-slice source register (PMSRC, address 0xA000 402C) bit description
Bit
Symbol
Value
Description
Reset value
7:0
Reserved
Software should not write 1s to unused bits.
0