![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <gpio.h>
Data Fields | |
| GPIO_PIN * | pin |
| GPIO Pin this event belongs to. | |
| gpio_event_cb | callback |
| Callback function to call when trigger occurs. | |
| void * | data |
| Pointer to pass to the callback function when trigger occurs. | |
| uint32_t | timeout |
| Timeout in milliseconds for this callback (or INFINITE for no timeout). | |
| GPIO_EVENT * | prev |
| Previous event in the list. | |
| GPIO_EVENT * | next |
| Next event in the list. | |
| GPIO_PIN* pin |
GPIO Pin this event belongs to.
| gpio_event_cb callback |
Callback function to call when trigger occurs.
| void* data |
Pointer to pass to the callback function when trigger occurs.
| uint32_t timeout |
Timeout in milliseconds for this callback (or INFINITE for no timeout).
| GPIO_EVENT* prev |
Previous event in the list.
| GPIO_EVENT* next |
Next event in the list.