Private
Public Access
2
0

aio: internal aio context to mraa_internal_types

* Some comments for members of structure also added

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Thomas Ingleby
2014-07-28 14:15:11 +01:00
committed by Brendan Le Foll
parent 92cbb6097c
commit 62a1493bdf
2 changed files with 8 additions and 5 deletions

View File

@@ -69,3 +69,11 @@ struct _pwm {
mraa_boolean_t owner; /**< Owner of pwm context*/
/*@}*/
};
/**
* A structure representing a Analog Input Channel
*/
struct _aio {
unsigned int channel; /**< the channel as on board and ADC module */
int adc_in_fp; /**< File Pointer to raw sysfs */
};