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*/
|
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 */
|
||||||
|
};
|
||||||
|
|||||||
@@ -29,11 +29,6 @@
|
|||||||
#include "aio.h"
|
#include "aio.h"
|
||||||
#include "mraa_internal.h"
|
#include "mraa_internal.h"
|
||||||
|
|
||||||
struct _aio {
|
|
||||||
unsigned int channel;
|
|
||||||
int adc_in_fp;
|
|
||||||
};
|
|
||||||
|
|
||||||
static int raw_bits;
|
static int raw_bits;
|
||||||
static int sup_bits;
|
static int sup_bits;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user