![NXP Semiconductors LPC84x User Manual Download Page 230](http://html.mh-extra.com/html/nxp-semiconductors/lpc84x/lpc84x_user-manual_1721742230.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
230 of 515
NXP Semiconductors
UM11029
Chapter 13: LPC84x Pin interrupts/pattern match engine
•
Sticky: A rising edge, a falling edge, or a rising or falling edge that is detected at any
time after the edge-detection mechanism has been cleared. The input qualifies as
detected (the detect logic output remains HIGH) until the pattern match engine detect
logic is cleared again.
•
Non-sticky: Every time an edge (rising or falling) is detected, the detect logic output
for this pin goes HIGH. This bit is cleared after one clock cycle, and the edge detect
logic can detect another edge,
Remark:
To clear the pattern match engine detect logic, write any value to either the
PMCFG register or the PMSRC register, or disable the pattern-match feature (by clearing
both the SEL_PMATCH and ENA_RXEV bits in the PMCTRL register to zeros). This will
erase all edge-detect history.
To select whether a slice marks the final component in a minterm of the boolean
expression, write a 1 in the corresponding PROD_ENPTSn bit. Setting a term as the final
component 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).
Table 281. Pattern match bit slice configuration register (PMCFG, address 0xA000 4030) bit description
Bit
Symbol
Value
Description
Reset
value
0
PROD_EN
DPTS0
Determines whether slice 0 is an endpoint.
0
0
No effect. Slice 0 is not an endpoint.
1
endpoint. Slice 0 is the endpoint of a product term (minterm). Pin interrupt 0 in the
NVIC is raised if the minterm evaluates as true.
1
PROD_EN
DPTS1
Determines whether slice 1 is an endpoint.
0
0
No effect. Slice 1 is not an endpoint.
1
endpoint. Slice 1 is the endpoint of a product term (minterm). Pin interrupt 1 in the
NVIC is raised if the minterm evaluates as true.
2
PROD_EN
DPTS2
Determines whether slice 2 is an endpoint.
0
0
No effect. Slice 2 is not an endpoint.
1
endpoint. Slice 2 is the endpoint of a product term (minterm). Pin interrupt 2 in the
NVIC is raised if the minterm evaluates as true.
3
PROD_EN
DPTS3
Determines whether slice 3 is an endpoint.
0
0
No effect. Slice 3 is not an endpoint.
1
endpoint. Slice 3 is the endpoint of a product term (minterm). Pin interrupt 3 in the
NVIC is raised if the minterm evaluates as true.
4
PROD_EN
DPTS4
Determines whether slice 4 is an endpoint.
0
0
No effect. Slice 4 is not an endpoint.
1
endpoint. Slice 4 is the endpoint of a product term (minterm). Pin interrupt 4 in the
NVIC is raised if the minterm evaluates as true.