ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
#include "ruuvi_driver_error.h"
#include "ruuvi_interface_gpio.h"
#include "ruuvi_interface_gpio_interrupt.h"
#include "ruuvi_interface_gpio_test.h"
Go to the source code of this file.
Macros | |
#define | RI_GPIO_INTERRUPT_TEST_TABLE_SIZE 64 |
Fixed 64 interrupt table size, adjust this if some device has more than 2 ports with 32 gpios each. More... | |
Functions | |
rd_status_t | ri_gpio_interrupt_test_init (const rd_test_gpio_cfg_t cfg) |
Test GPIO interrupt initialization. More... | |
rd_status_t | ri_gpio_interrupt_test_enable (const rd_test_gpio_cfg_t cfg) |
Test enabling interrupt on a pin. More... | |
bool | ri_gpio_interrupt_run_integration_test (const rd_test_print_fp printfp, const ri_gpio_id_t input, const ri_gpio_id_t output) |
Run all GPIO interrupt integration tests. More... | |
Interface for basic GPIO interrupt functions
Definition in file ruuvi_interface_gpio_interrupt_test.h.