![NXP Semiconductors LPC84x Скачать руководство пользователя страница 112](http://html.mh-extra.com/html/nxp-semiconductors/lpc84x/lpc84x_user-manual_1721742112.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
112 of 515
NXP Semiconductors
UM11029
Chapter 8: LPC84x System configuration (SYSCON)
8.6.42 Pin interrupt select registers
Each of these 8 registers selects one pin from all digital pins as the source of a pin
interrupt or as the input to the pattern match engine. To select a pin for any of the eight pin
interrupts or pattern match engine inputs, write the GPIO port pin number as 0 to 31 for
pins PIO0_0 to PIO0_31 to the INTPIN bits and GPIO port pin number as 32 to 63 for pins
PIO1_0 to PIO1_31. For example, setting INTPIN to 0x5 in PINTSEL0 selects pin PIO0_5
for pin interrupt 0.
Remark:
The GPIO port pin number serves to identify the pin to the PINTSEL register.
Any digital input function, including GPIO, can be assigned to this pin through the switch
matrix.
Each of the 8 pin interrupts must be enabled in the NVIC using interrupt slots # 24 to 31
(see
).
To use the selected pins for pin interrupts or the pattern match engine, see
.
8.6.43 Start logic 0 pin wake-up enable register
The STARTERP0 register enables the selected pin interrupts for wake-up from
deep-sleep mode and power-down modes.
Remark:
Also enable the corresponding interrupts in the NVIC. See
“Connection of interrupt sources to the NVIC”
Table 167. Pin interrupt select registers (PINTSEL[0:7], address 0x4004 8178 (PINTSEL0) to
0x4004 8194 (PINTSEL7)) bit description
Bit
Symbol
Description
Reset
value
5:0
INTPIN
Pin number select for pin interrupt or pattern match engine input.
(PIO0_0 to PIO0_31correspond to numbers 0 to 31 and PIO1_0 to
PIO1_31 correspond to numbers 32 to 63).
0
31:6
-
Reserved
-
Table 168. Start logic 0 pin wake-up enable register 0 (STARTERP0, address 0x4004 8204) bit
description
Bit
Symbol
Value
Description
Reset
value
0
PINT0
GPIO pin interrupt 0 wake-up
0
0
Disabled
1
Enabled
1
PINT1
GPIO pin interrupt 1 wake-up
0
0
Disabled
1
Enabled
2
PINT2
GPIO pin interrupt 2 wake-up
0
0
Disabled
1
Enabled