wip
[AROS.git] / arch / arm-native / soc / broadcom / 283x / gpio / gpio_private.h
blobfd8df43399d6b25ad3313c3a8a4f89cc64e6ffa0
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef GPIO_PRIVATE_H_
7 #define GPIO_PRIVATE_H_
9 #include <exec/nodes.h>
10 #include <exec/semaphores.h>
11 #include <inttypes.h>
13 struct GPIOBase {
14 struct Node gpio_Node;
15 struct SignalSemaphore gpio_Sem;
16 unsigned int gpio_periiobase;
19 #define ARM_PERIIOBASE GPIOBase->gpio_periiobase
20 #include <hardware/bcm283x.h>
22 #endif /* GPIO_PRIVATE_H_ */