19#define GPIO_SLOT_LED 0x000020
20#define GPIO_SLOT_IN 0x000080
21#define GPIO_SENSOR_BAR 0x000100
22#define GPIO_EJECT 0x000200
23#define GPIO_AVE_SCL 0x004000
24#define GPIO_AVE_SDA 0x008000
void gpio_set_direction(uint32_t bit, bool direction)
Sets the direction of the GPIO.
Definition gpio.c:35
void gpio_write(uint32_t bit, bool set)
Writes a GPIO output.
Definition gpio.c:23
bool gpio_read(uint32_t bit)
Reads a GPIO Input.
Definition gpio.c:31