DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
94 of 313
NXP Semiconductors
UM10601
Chapter 8: LPC800 Pin interrupts/pattern match engine
8.6.13 Pattern Match Interrupt Bit-Slice Configuration register
The bit-slice configuration register contains bits to select from among eight alternative
conditions for each bit slice that will cause that bit slice to contribute to a pattern match.
The seven LSB’s of this register specify which bit-slices are the end-points of product
terms in the boolean expression (i.e. where OR terms are to be inserted in the
expression).
This bit is only cleared when the PMCFG or the PMSRC registers are written to.
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 92.
Pattern match bit slice configuration register (PMCFG, address 0x4004 C030) bit description
Bit
Symbol
Value
Description
Reset
value
6:0
PROD_
ENDPTS
A 1 in any bit of this field causes the corresponding bit slice to be the final component
of a product term in the boolean expression.
This has two effects:
1. The interrupt request associated with this bit-slice will be asserted whenever a
match to that product term is detected.
2. The next bit slice will start a new, independent product term in the boolean
expression (i.e. an OR will be inserted in the boolean expression following the
element controlled by this bit slice).
0x0
7
Reserved
(Bit slice 7 is automatically considered a product end point)
0
10:8
CFG0
Specifies the match-contribution condition for bit slice 0.
0b000
0x0
Constant 1. This bit slice always contributes to a product term match.
0x1
Rising edge. Match occurs if a rising edge on the specified input has occurred since
the last time the edge detection for this bit slice was cleared.
This bit is only
cleared when the PMCFG or the PMSRC registers are written to.
0x2
Falling edge. Match occurs if a falling edge on the specified input has occurred since
the last time the edge detection for this bit slice was cleared.
This bit is only
cleared when the PMCFG or the PMSRC registers are written to.
0x3
Rising or falling edge. Match occurs if either a rising or falling edge on the specified
input has occurred since the last time the edge detection for this bit slice was
cleared.
This bit is only cleared when the PMCFG or the PMSRC registers
are written to.
0x4
High level. Match (for this bit slice) occurs when there is a high level on the input
specified for this bit slice in the PMSRC register.
0x5
Low level. Match occurs when there is a low level on the specified input.
0x6
Constant 0. This bit slice never contributes to a match (
should be used to disable
any unused bit slices)
0x7
Event. Match occurs on an event - i.e. when either a rising or falling edge is first
detected on the specified input (this is a non-sticky version of option 3)