Private
Public Access
2
0

gpio.h: Add gpio_event doc

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2018-01-15 14:17:38 +01:00
parent 2b98fc7869
commit ea6d771c2b

View File

@@ -106,9 +106,12 @@ typedef enum {
typedef long long unsigned int mraa_timestamp_t;
/**
* Gpio event object
*/
typedef struct {
int id;
mraa_timestamp_t timestamp;
int id; /**< id of event */
mraa_timestamp_t timestamp; /**< timestamp */
} mraa_gpio_event;
typedef mraa_gpio_event* mraa_gpio_events_t;