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
83 of 313
NXP Semiconductors
UM10601
Chapter 8: LPC800 Pin interrupts/pattern match engine
–
Enable the clock to the pin interrupt register block in the SYSAHBCLKCTRL
register (
, bit 6).
–
Each bit slice of the pattern match engine is assigned to one interrupt in the NVIC
(interrupts #24 to #31 for slices 0 to 7).
–
The combined interrupt from all slices or slice combinations can be connected to
the ARM RXEV request and to pin function
GPIO_INT_BMAT through the switch matrix
movable function register (PINASSIGN8,
8.3.1 Configure pins as pin interrupts or as inputs to the pattern match
engine
Follow these steps to configure pins as pin interrupts:
1. Determine the pins that serve as pin interrupts on the LPC800 package. See the data
sheet for determining the GPIO port pin number associated with the package pin.
2. For each pin interrupt, program the GPIO port pin number into one of the eight
PINTSEL registers in the SYSCON block.
Remark:
The port pin number serves to identify the pin to the PINTSEL register. Any
function, including GPIO, can be assigned to this pin through the switch matrix.
3. Enable each pin interrupt in the NVIC.
Once the pin interrupts or pattern match inputs are configured, you can set up the pin
interrupt detection levels or the pattern match boolean expression.
See
Section 4.6.27 “Pin interrupt select registers”
in the SYSCON block for the PINTSEL
registers.
8.4 Pin description
The inputs to the pin interrupt and pattern match engine are determined by the pin
interrupt select registers in the SYSCON block. See
The pattern match engine output is assigned to an external pin through the switch matrix.
See
Section 9.3.1 “Connect an internal signal to a package pin”
need to follow to assign the GPIO pattern match function to a pin on the LPC800 package.
8.5 General description
Pins with configurable functions can serve as external interrupts or inputs to the pattern
match engine. You can configure up to eight pins total using the PINTSEL registers in the
SYSCON block for these features.
Table 78.
SCT pin description
Function
Direction Pin
Description
SWM register
Reference
GPIO_INT_BMAT
O
any
GPIO pattern match
output
PINASSIGN8