Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
rpi_gpio.h
1 #ifndef _RPI_GPIO_H_
2 #define _RPI_GPIO_H_
3 
5 {
6  volatile unsigned int gpfsel[6]; /* GPIO Funciton Select */
7  volatile unsigned int do_not_use_a;
8  volatile unsigned int gpset[2]; /* GPIO Pin Output Set */
9  volatile unsigned int do_not_use_b;
10  volatile unsigned int gpclr[2]; /* GPIO Pin Output Clear */
11  volatile unsigned int do_not_use_c;
12  volatile unsigned int gplev[2]; /* GPIO Pin Level */
13  volatile unsigned int do_not_use_d;
14  volatile unsigned int gpeds[2]; /* GPIO Pin Event Detect Status */
15  volatile unsigned int do_not_use_e;
16  volatile unsigned int gpren[2]; /* GPIO Pin Rising Edge Detect Enable */
17  volatile unsigned int do_not_use_f;
18  volatile unsigned int gpfen[2]; /* GPIO Pin Falling Edge Detect Enable */
19  volatile unsigned int do_not_use_g;
20  volatile unsigned int gphen[2]; /* GPIO Pin High Detect Enable */
21  volatile unsigned int do_not_use_h;
22  volatile unsigned int gplen[2]; /* GPIO Pin Low Detect Enable */
23  volatile unsigned int do_not_use_i;
24  volatile unsigned int gparen[2]; /* GPIO Pin Async. Rising Edge Detect */
25  volatile unsigned int do_not_use_j;
26  volatile unsigned int gpafen[2]; /* GPIO Pin Async. Falling Edge Detect */
27  volatile unsigned int do_not_use_k;
28  volatile unsigned int gppud; /* GPIO Pin Pull-up/down Enable */
29  volatile unsigned int gppudclk[2]; /* GPIO Pin Pull-up/down Enable Clock */
30 };
31 
32 #endif /* _RPI_GPIO_H_ */
Definition: rpi_gpio.h:4