Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lpcGPIO.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * $RCSfile$
4  * $Revision$
5  *
6  * Header file for Philips LPC ARM Processors.
7  * Copyright 2004 R O SoftWare
8  *
9  * No guarantees, warrantees, or promises, implied or otherwise.
10  * May be used for hobby or commercial purposes provided copyright
11  * notice remains intact.
12  *
13  *****************************************************************************/
14 #ifndef INC_LPC_GPIO_H
15 #define INC_LPC_GPIO_H
16 
17 // General Purpose Input/Output Registers (GPIO)
18 typedef struct
19 {
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
36 } gpioRegs_t;
37 
38 #endif
#define REG32
Definition: LPC21xx.h:20
REG32 set1
Definition: lpcGPIO.h:25
REG32 clr2
Definition: lpcGPIO.h:31
REG32 in1
Definition: lpcGPIO.h:24
REG32 set2
Definition: lpcGPIO.h:29
REG32 in2
Definition: lpcGPIO.h:28
REG32 set3
Definition: lpcGPIO.h:33
REG32 in3
Definition: lpcGPIO.h:32
REG32 clr1
Definition: lpcGPIO.h:27
REG32 clr0
Definition: lpcGPIO.h:23
REG32 dir3
Definition: lpcGPIO.h:34
REG32 in0
Definition: lpcGPIO.h:20
REG32 dir2
Definition: lpcGPIO.h:30
REG32 clr3
Definition: lpcGPIO.h:35
REG32 dir0
Definition: lpcGPIO.h:22
REG32 set0
Definition: lpcGPIO.h:21
REG32 dir1
Definition: lpcGPIO.h:26