ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_task_gpio.h File Reference
#include <stdbool.h>
#include "ruuvi_driver_error.h"

Go to the source code of this file.

Functions

rd_status_t rt_gpio_init (void)
 initialise GPIO. Pins are in high-Z state by default. More...
 
bool rt_gpio_is_init (void)
 check that GPIO is initialized. More...
 

Detailed Description

Author
Otso Jousimaa otso@.nosp@m.ojou.nosp@m.sima..nosp@m.net
Date
2019-10-11

GPIO control.

Definition in file ruuvi_task_gpio.h.

Function Documentation

◆ rt_gpio_init()

rd_status_t rt_gpio_init ( void  )

initialise GPIO. Pins are in high-Z state by default.

Return values
RUUVI_DRIVER_SUCCESS

◆ rt_gpio_is_init()

bool rt_gpio_is_init ( void  )

check that GPIO is initialized.

Returns
True if GPIO is initialized, false otherwise.