1 #ifndef RUUVI_INTERFACE_GPIO_INTERRUPT_TEST_H
2 #define RUUVI_INTERFACE_GPIO_INTERRUPT_TEST_H
21 #define RI_GPIO_INTERRUPT_TEST_TABLE_SIZE 64
uint32_t rd_status_t
bitfield for representing errors
rd_status_t ri_gpio_interrupt_test_init(const rd_test_gpio_cfg_t cfg)
Test GPIO interrupt initialization.
rd_status_t ri_gpio_interrupt_test_enable(const rd_test_gpio_cfg_t cfg)
Test enabling interrupt on a pin.
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.
void(* rd_test_print_fp)(const char *const msg)
function pointer to print test information
Ruuvi error codes and error check function.
uint16_t ri_gpio_id_t
port<<8 + pin
structure to configure GPIO test with input and output. These GPIOs must be physically connected on b...