1 /******************************************************************************
6 * Header file for Philips LPC ARM Processors.
7 * Copyright 2004 R O SoftWare
9 * No guarantees, warrantees, or promises, implied or otherwise.
10 * May be used for hobby or commercial purposes provided copyright
11 * notice remains intact.
13 *****************************************************************************/
14 #ifndef INC_LPC_GPIO_H
15 #define INC_LPC_GPIO_H
17 // General Purpose Input/Output Registers (GPIO)
20 REG32 in0; // P0 Pin Value Register
21 REG32 set0; // P0 Pin Output Set Register
22 REG32 dir0; // P0 Pin Direction Register
23 REG32 clr0; // P0 Pin Output Clear Register
24 REG32 in1; // P1 Pin Value Register
25 REG32 set1; // P1 Pin Output Set Register
26 REG32 dir1; // P1 Pin Direction Register
27 REG32 clr1; // P1 Pin Output Clear Register
28 REG32 in2; // P2 Pin Value Register
29 REG32 set2; // P2 Pin Output Set Register
30 REG32 dir2; // P2 Pin Direction Register
31 REG32 clr2; // P2 Pin Output Clear Register
32 REG32 in3; // P3 Pin Value Register
33 REG32 set3; // P3 Pin Output Set Register
34 REG32 dir3; // P3 Pin Direction Register
35 REG32 clr3; // P3 Pin Output Clear Register