gpio.h: Add gpio_event doc
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -106,9 +106,12 @@ typedef enum {
|
|||||||
|
|
||||||
typedef long long unsigned int mraa_timestamp_t;
|
typedef long long unsigned int mraa_timestamp_t;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gpio event object
|
||||||
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int id;
|
int id; /**< id of event */
|
||||||
mraa_timestamp_t timestamp;
|
mraa_timestamp_t timestamp; /**< timestamp */
|
||||||
} mraa_gpio_event;
|
} mraa_gpio_event;
|
||||||
|
|
||||||
typedef mraa_gpio_event* mraa_gpio_events_t;
|
typedef mraa_gpio_event* mraa_gpio_events_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user