UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
124 of 464
NXP Semiconductors
UM10850
Chapter 10: LPC5410x Pin interrupt and pattern match (PINT)
10.6.4 Pin interrupt level or rising edge interrupt clear register
For each of the 8 pin interrupts selected in the PINTSELn registers (see
), one
bit in the CIENR register clears the corresponding bit in the IENR register depending on
the pin interrupt mode configured in the ISEL register:
•
If the pin interrupt mode is edge sensitive (PMODE = 0), the rising edge interrupt is
cleared.
•
If the pin interrupt mode is level sensitive (PMODE = 1), the level interrupt is cleared.
10.6.5 Pin interrupt active level or falling edge interrupt enable register
For each of the 8 pin interrupts selected in the PINTSELn registers (see
), one
bit in the IENF register enables the falling edge interrupt or the configures the level
sensitivity depending on the pin interrupt mode configured in the ISEL register:
•
If the pin interrupt mode is edge sensitive (PMODE = 0), the falling edge interrupt is
enabled.
•
If the pin interrupt mode is level sensitive (PMODE = 1), the active level of the level
interrupt (HIGH or LOW) is configured.
10.6.6 Pin interrupt active level or falling edge interrupt set register
For each of the 8 pin interrupts selected in the PINTSELn registers (see
), one
bit in the SIENF register sets the corresponding bit in the IENF register depending on the
pin interrupt mode configured in the ISEL register:
•
If the pin interrupt mode is edge sensitive (PMODE = 0), the falling edge interrupt is
set.
•
If the pin interrupt mode is level sensitive (PMODE = 1), the HIGH-active interrupt is
selected.
Table 160. Pin interrupt level or rising edge interrupt clear register (CIENR, address 0x4001 800C) bit description
Bit
Symbol
Description
Reset value Access
7:0
CENRL
Ones written to this address clear bits in the IENR, thus disabling the interrupts. Bit
n clears bit n in the IENR register.
0 = No operation.
1 = Disable rising edge or level interrupt.
NA
WO
31:8 -
Reserved.
-
-
Table 161. Pin interrupt active level or falling edge interrupt enable register (IENF, address 0x4001 8010) bit
description
Bit
Symbol
Description
Reset value Access
7:0
ENAF
Enables the falling edge or configures the active level interrupt for each pin
interrupt. Bit n configures the pin interrupt selected in PINTSELn.
0 = Disable falling edge interrupt or set active interrupt level LOW.
1 = Enable falling edge interrupt enabled or set active interrupt level HIGH.
0
R/W
31:8 -
Reserved.
-
-