Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_GPIO_EVENT Struct Reference

#include <gpio.h>

Data Fields

GPIO_PINpin
 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_EVENTprev
 Previous event in the list.
GPIO_EVENTnext
 Next event in the list.

Field Documentation

◆ pin

GPIO_PIN* pin

GPIO Pin this event belongs to.

◆ callback

gpio_event_cb callback

Callback function to call when trigger occurs.

◆ data

void* data

Pointer to pass to the callback function when trigger occurs.

◆ timeout

uint32_t timeout

Timeout in milliseconds for this callback (or INFINITE for no timeout).

◆ prev

GPIO_EVENT* prev

Previous event in the list.

◆ next

GPIO_EVENT* next

Next event in the list.


The documentation for this struct was generated from the following file: