ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
#include "ruuvi_driver_error.h"
#include "ruuvi_driver_test.h"
#include "ruuvi_interface_gpio.h"
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | rd_test_gpio_cfg_t |
structure to configure GPIO test with input and output. These GPIOs must be physically connected on board. More... | |
Functions | |
rd_status_t | ri_gpio_test_init (void) |
Test GPIO module initialization. More... | |
rd_status_t | ri_gpio_test_configure (const ri_gpio_id_t input, const ri_gpio_id_t output) |
Test configuring a pin of a port into a mode. More... | |
rd_status_t | ri_gpio_test_toggle (const ri_gpio_id_t input, const ri_gpio_id_t output) |
Test toggling the state of a pin of a port. More... | |
bool | ri_gpio_run_integration_test (const rd_test_print_fp printfp, const ri_gpio_id_t input, const ri_gpio_id_t output) |
Run all GPIO integration tests. More... | |
Test functionality defined in ruuvi_interface_gpio.h
Definition in file ruuvi_interface_gpio_test.h.