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:
committed by
Brendan Le Foll
parent
92cbb6097c
commit
62a1493bdf
@@ -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 */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user