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
123 of 464
NXP Semiconductors
UM10850
Chapter 10: LPC5410x Pin interrupt and pattern match (PINT)
10.6.1 Pin interrupt mode register
For each of the 8 pin interrupts selected in the PINTSELn registers (see
), one
bit in the ISEL register determines whether the interrupt is edge or level sensitive.
10.6.2 Pin interrupt level or rising edge interrupt enable register
For each of the 8 pin interrupts selected in the PINTSELn registers (see
), one
bit in the IENR register enables the interrupt 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
enabled.
•
If the pin interrupt mode is level sensitive (PMODE = 1), the level interrupt is enabled.
The IENF register configures the active level (HIGH or LOW) for this interrupt.
10.6.3 Pin interrupt level or rising edge interrupt set register
For each of the 8 pin interrupts selected in the PINTSELn registers (see
), one
bit in the SIENR register sets 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
set.
•
If the pin interrupt mode is level sensitive (PMODE = 1), the level interrupt is set.
Table 157. Pin interrupt mode register (ISEL, address 0x4001 8000) bit description
Bit
Symbol
Description
Reset value Access
7:0
PMODE
Selects the interrupt mode for each pin interrupt. Bit n configures the pin interrupt
selected in PINTSELn.
0 = Edge sensitive
1 = Level sensitive
0
R/W
31:8 -
Reserved. Read value is undefined, only zero should be written.
-
-
Table 158. Pin interrupt level or rising edge interrupt enable register (IENR, address 0x4001 8004) bit description
Bit
Symbol
Description
Reset value Access
7:0
ENRL
Enables the rising edge or level interrupt for each pin interrupt. Bit n configures the
pin interrupt selected in PINTSELn.
0 = Disable rising edge or level interrupt.
1 = Enable rising edge or level interrupt.
0
R/W
31:8 -
Reserved. Read value is undefined, only zero should be written.
-
-
Table 159. Pin interrupt level or rising edge interrupt set register (SIENR, address 0x4001 8008) bit description
Bit
Symbol
Description
Reset value Access
7:0
SETENRL
Ones written to this address set bits in the IENR, thus enabling interrupts. Bit n
sets bit n in the IENR register.
0 = No operation.
1 = Enable rising edge or level interrupt.
NA
WO
31:8 -
Reserved.
-
-