28 #include "iio_kernel_headers.h" mraa_result_t mraa_iio_read_int(mraa_iio_context dev, const char *filename, int *data)
mraa_result_t mraa_iio_event_poll(mraa_iio_context dev, struct iio_event_data *data)
int mraa_iio_get_device_num_by_name(const char *name)
mraa_result_t mraa_iio_create_trigger(mraa_iio_context dev, const char *trigger)
int mraa_iio_get_channel_count(mraa_iio_context dev)
mraa_boolean_t lendian
Definition: iio.h:39
unsigned int mraa_boolean_t
Definition: common.h:78
int enabled
Definition: iio.h:35
mraa_result_t mraa_iio_close(mraa_iio_context dev)
mraa_result_t mraa_iio_get_event_data(mraa_iio_context dev)
mraa_result_t mraa_iio_write_float(mraa_iio_context dev, const char *attr_chan, const float data)
mraa_result_t mraa_iio_get_mount_matrix(mraa_iio_context dev, const char *sysfs_name, float mm[9])
mraa_result_t mraa_iio_trigger_buffer(mraa_iio_context dev, void(*fptr)(char *, void *), void *args)
const char * mraa_iio_get_device_name(mraa_iio_context dev)
mraa_result_t mraa_iio_read_float(mraa_iio_context dev, const char *filename, float *data)
unsigned int offset
Definition: iio.h:43
mraa_result_t mraa_iio_event_setup_callback(mraa_iio_context dev, void(*fptr)(struct iio_event_data *data, void *args), void *args)
unsigned int location
Definition: iio.h:53
mraa_result_t mraa_iio_update_channels(mraa_iio_context dev)
int index
Definition: iio.h:33
mraa_iio_context mraa_iio_init(int device)
int enabled
Definition: iio.h:61
mraa_result_t mraa_iio_event_extract_event(struct iio_event_data *event, int *chan_type, int *modifier, int *type, int *direction, int *channel, int *channel2, int *different)
mraa_result_t mraa_iio_write_string(mraa_iio_context dev, const char *attr_chan, const char *data)
uint64_t mask
Definition: iio.h:45
unsigned int bits_used
Definition: iio.h:47
int mraa_iio_read_size(mraa_iio_context dev)
char * name
Definition: iio.h:59
mraa_iio_channel * mraa_iio_get_channels(mraa_iio_context dev)
struct _iio * mraa_iio_context
Definition: iio.h:87
mraa_result_t mraa_iio_read_string(mraa_iio_context dev, const char *filename, char *data, int max_len)
mraa_result_t mraa_iio_write_int(mraa_iio_context dev, const char *attr_chan, const int data)
mraa_result_t
Definition: types.h:209
int signedd
Definition: iio.h:41
unsigned int shift
Definition: iio.h:51
unsigned int bytes
Definition: iio.h:49
mraa_result_t mraa_iio_get_channel_data(mraa_iio_context dev)
Definition: iio_kernel_headers.h:119
char * type
Definition: iio.h:37