
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
109 of 808
NXP Semiconductors
UM10360
Chapter 9: LPC17xx General Purpose Input/Output (GPIO)
[1]
Not available on 80-pin package.
5.6.11 GPIO Interrupt Clear register for port 0 (IO2IntClr - 0x4002 80AC)
Writing a 1 into a bit in this write-only register clears any interrupts for the corresponding
port 2 pin.
[1]
Not available on 80-pin package.
6.
GPIO usage notes
6.1 Example: An instantaneous output of 0s and 1s on a GPIO port
Solution 1:
using 32-bit (word) accessible fast GPIO registers
FIO0MASK = 0xFFFF00FF ;
FIO0PIN = 0x0000A500;
27
P0.27CI
Clear GPIO port Interrupts for P0.27.
0
28
P0.28CI
Clear GPIO port Interrupts for P0.28.
0
29
P0.29CI
Clear GPIO port Interrupts for P0.29.
0
30
P0.30CI
Clear GPIO port Interrupts for P0.30.
0
31
-
Reserved.
NA
Table 100. GPIO Interrupt Clear register for port 0 (IO0IntClr - 0x4002 808C)) bit description
Bit
Symbol
Value Description
Reset
value
Table 101. GPIO Interrupt Clear register for port 0 (IO2IntClr - 0x4002 80AC) bit description
Bit
Symbol
Value Description
Reset
value
0
P2.0CI
Clear GPIO port Interrupts for P2.0
0
0
Corresponding bits in IOxIntStatR and IOxIntStatF are
unchanged.
1
Corresponding bits in IOxIntStatR and IOxStatF are cleared.
1
P2.1CI
Clear GPIO port Interrupts for P2.1.
0
2
P2.2CI
Clear GPIO port Interrupts for P2.2.
0
3
P2.3CI
Clear GPIO port Interrupts for P2.3.
0
4
P2.4CI
Clear GPIO port Interrupts for P2.4.
0
5
P2.5CI
Clear GPIO port Interrupts for P2.5.
0
6
P2.6CI
Clear GPIO port Interrupts for P2.6.
0
7
P2.7CI
Clear GPIO port Interrupts for P2.7.
0
8
P2.8CI
Clear GPIO port Interrupts for P2.8.
0
9
P2.9CI
Clear GPIO port Interrupts for P2.9.
0
10
P2.10CI
Clear GPIO port Interrupts for P2.10.
0
11
P2.11CI
Clear GPIO port Interrupts for P2.11.
0
12
P2.12CI
Clear GPIO port Interrupts for P2.12.
0
13
P2.13CI
Clear GPIO port Interrupts for P2.13.
0
31:14
-
Reserved.
NA