UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
66 of 258
NXP Semiconductors
UM10429
Chapter 9: LPC1102 General Purpose I/O (GPIO)
9.3.6 GPIO interrupt mask register
Bits set to HIGH in the GPIOnIE register allow the corresponding pins to trigger their
individual interrupts and the combined GPIOnINTR line. Clearing a bit disables interrupt
triggering on that pin.
9.3.7 GPIO raw interrupt status register
Bits read HIGH in the GPIOnIRS register reflect the raw (prior to masking) interrupt status
of the corresponding pins indicating that all the requirements have been met before they
are allowed to trigger the GPIOIE. Bits read as zero indicate that the corresponding input
pins have not initiated an interrupt. The register is read-only.
9.3.8 GPIO masked interrupt status register
Bits read HIGH in the GPIOnMIS register reflect the status of the input lines triggering an
interrupt. Bits read as LOW indicate that either no interrupt on the corresponding input
pins has been generated or that the interrupt is masked. GPIOMIS is the state of the
interrupt after masking. The register is read-only.
9.3.9 GPIO interrupt clear register
This register allows software to clear edge detection for port bits that are identified as
edge-sensitive in the Interrupt Sense register. This register has no effect on port bits
identified as level-sensitive.
Table 66.
GPIOnIE register (GPIO0IE, address 0x5000 8010 to GPIO3IE, address 0x5003
8010) bit description
Bit
Symbol Description
Reset
value
Access
11:0
MASK
Selects interrupt on pin x to be masked (x = 0 to 11).
0 = Interrupt on pin PIOn_x is masked.
1 = Interrupt on pin PIOn_x is not masked.
0x00
R/W
31:12
-
Reserved
-
-
Table 67.
GPIOnIRS register (GPIO0IRS, address 0x5000 8014 to GPIO3IRS, address 0x5003
8014) bit description
Bit
Symbol
Description
Reset
value
Access
11:0
RAWST
Raw interrupt status (x = 0 to 11).
0 = No interrupt on pin PIOn_x.
1 = Interrupt requirements met on PIOn_x.
0x00
R
31:12
-
Reserved
-
-
Table 68.
GPIOnMIS register (GPIO0MIS, address 0x5000 8018 to GPIO3MIS, address
0x5003 8018) bit description
Bit
Symbol Description
Reset
value
Access
11:0
MASK
Selects interrupt on pin x to be masked (x = 0 to 11).
0 = No interrupt or interrupt masked on pin PIOn_x.
1 = Interrupt on PIOn_x.
0x00
R
31:12
-
Reserved
-
-