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
85 of 313
NXP Semiconductors
UM10601
Chapter 8: LPC800 Pin interrupts/pattern match engine
8.5.2.1 Example
Assume the expression: (IN0)~(IN1)(IN3)^ + (IN1)(IN2) + (IN0)~(IN3)~(IN4) is specified
through the registers PMSRC (
) and PMCFG (
). Each term in the
boolean expression, (IN0), ~(IN1), (IN3)^, etc., represents one bit slice of the pattern
match engine.
•
In the first term (IN0)~(IN1)(IN3)^, bit slice 0 monitors for a high-level on input (IN0),
bit slice 1 monitors for a low level on input (IN1) and bit slice 2 monitors for a
rising-edge on input (IN3). If this combination is detected, that is if all three terms are
true, the interrupt associated with bit slice 2 will be asserted.
•
In the second term (IN1)(IN2), bit slice 3 monitors input (IN1) for a high level, bit slice
4 monitors input (IN2) for a high level. If this combination is detected, the interrupt
associated with bit slice 4 will be asserted.
•
In the third term (IN0)~(IN3)~(IN4), bit slice 5 monitors input (IN0) for a high level, bit
slice 6 monitors input (IN3) for a low level, and bit slice 7 monitors input (IN4) for a low
level. If this combination is detected, the interrupt associated with bit slice 7 will be
asserted.
•
The ORed result of all three terms asserts the RXEV request to the CPU and the
GPIO_INT_BMAT output. That is, if any of the three terms are true, the output is
asserted.
Related links:
Fig 6.
Pattern match bit slice
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