42 #define GPIO_AHRS_ENABLE 0
43 #define GPIO_BLINK_LED 1
44 #define GPIO_SUICIDE 7
void gpioPinConf(int pin, GpioPinDir dir)
Configure PIN directionality.
uint32_t gpioGetValue()
Read all gpio pins at once.
GpioPinDir
Defines direction of GPIO.
void gpioPinSet(int pin, bool high)
Sets the pin state.
void gpioInit()
Initializes the GPIO.
bool gpioPinGet(int pin)
Gets the PIN value, if set as input.
void gpioSetValue(uint32_t mask)
Set the complete bitmask on the gpio pins.