ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_task_gpio.h
Go to the documentation of this file.
1 #ifndef RUUVI_TASK_GPIO_H
2 #define RUUVI_TASK_GPIO_H
3 #include <stdbool.h>
26 #include "ruuvi_driver_error.h"
27 
34 
40 bool rt_gpio_is_init (void);
43 #endif
uint32_t rd_status_t
bitfield for representing errors
Ruuvi error codes and error check function.
bool rt_gpio_is_init(void)
check that GPIO is initialized.
rd_status_t rt_gpio_init(void)
initialise GPIO. Pins are in high-Z state by default.