From ea6d771c2bc0a9381f15eceb32ec242337100a97 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Mon, 15 Jan 2018 14:17:38 +0100 Subject: [PATCH] gpio.h: Add gpio_event doc Signed-off-by: Brendan Le Foll --- api/mraa/gpio.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/api/mraa/gpio.h b/api/mraa/gpio.h index f382d1f..06b5d0e 100644 --- a/api/mraa/gpio.h +++ b/api/mraa/gpio.h @@ -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;