Go to the documentation of this file.
116 #define END_ATTRIBUTES_ARRAY {.name = NULL}
265 int32_t (*
read_dev)(
void *dev,
void *buff, uint32_t nb_samples);
270 int32_t (*
write_dev)(
void *dev,
void *buff, uint32_t nb_samples);
@ IIO_ACCEL
Definition: iio_types.h:71
int32_t(* read_dev)(void *dev, void *buff, uint32_t nb_samples)
Definition: iio_types.h:265
@ IIO_COUNT
Definition: iio_types.h:78
@ IIO_DIRECTION_INPUT
Definition: iio_types.h:200
uint32_t samples
Definition: iio_types.h:217
@ IIO_VAL_INT_PLUS_MICRO_DB
Definition: iio_types.h:53
@ IIO_ANGL_VEL
Definition: iio_types.h:68
@ IIO_VAL_INT
Definition: iio_types.h:50
Struct describing the scan type.
Definition: iio_types.h:168
@ IIO_VAL_INT_PLUS_NANO
Definition: iio_types.h:52
char sign
Definition: iio_types.h:153
@ IIO_SHARED_BY_TYPE
Definition: iio_types.h:120
@ IIO_SEPARATE
Definition: iio_types.h:119
struct iio_channel * channels
Definition: iio_types.h:254
@ IIO_VAL_FRACTIONAL_LOG2
Definition: iio_types.h:56
void * dev
Definition: iio_types.h:227
Structure holding channel attributess.
Definition: iio_types.h:103
@ IIO_VAL_INT_PLUS_MICRO
Definition: iio_types.h:51
uint32_t bytes_per_scan
Definition: iio_types.h:215
int(* show)(void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Definition: iio_types.h:140
@ IIO_MOD_PITCH
Definition: iio_types.h:94
bool is_big_endian
Definition: iio_types.h:161
bool diferential
Definition: iio_types.h:196
@ IIO_MOD_Z
Definition: iio_types.h:92
uint8_t storagebits
Definition: iio_types.h:157
@ IIO_VAL_FRACTIONAL
Definition: iio_types.h:55
int(* disable)(void *trig)
Definition: iio_types.h:240
bool ch_out
Definition: iio_types.h:107
Definition: ad9361_util.h:69
@ IIO_RESISTANCE
Definition: iio_types.h:72
int32_t(* write_dev)(void *dev, void *buff, uint32_t nb_samples)
Definition: iio_types.h:270
@ IIO_ALTVOLTAGE
Definition: iio_types.h:67
enum iio_chan_type ch_type
Definition: iio_types.h:172
int32_t(* post_disable)(void *dev)
Definition: iio_types.h:276
int channel2
Definition: iio_types.h:178
int32_t(* debug_reg_read)(void *dev, uint32_t reg, uint32_t *readval)
Definition: iio_types.h:283
intptr_t priv
Definition: iio_types.h:133
bool ch_out
Definition: iio_types.h:188
@ IIO_SHARED_BY_ALL
Definition: iio_types.h:122
int channel
Definition: iio_types.h:174
int32_t(* pre_enable)(void *dev, uint32_t mask)
Definition: iio_types.h:274
enum iio_attribute_shared shared
Definition: iio_types.h:138
uint8_t shift
Definition: iio_types.h:159
int(* store)(void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Definition: iio_types.h:143
@ IIO_MOD_Y
Definition: iio_types.h:91
const char * name
Definition: iio_types.h:131
bool differential
Definition: iio_types.h:111
const char * name
Definition: iio_types.h:170
struct iio_attribute * debug_attributes
Definition: iio_types.h:258
@ IIO_VAL_CHAR
Definition: iio_types.h:57
iio_attribute_shared
Definition: iio_types.h:118
int32_t(* submit)(struct iio_device_data *dev)
Definition: iio_types.h:278
uint32_t size
Definition: iio_types.h:213
struct iio_cyclic_buffer_info cyclic_info
Definition: iio_types.h:223
iio_buffer_direction
Definition: iio_types.h:199
Structure holding pointers to show and store functions.
Definition: iio_types.h:129
@ IIO_NO_MOD
Definition: iio_types.h:89
Definition: iio_types.h:209
uint32_t active_mask
Definition: iio_types.h:211
Circular buffer library header.
struct no_os_circular_buffer * buf
Definition: iio_types.h:221
@ IIO_CURRENT
Definition: iio_types.h:66
@ IIO_WEIGHT
Definition: iio_types.h:81
@ IIO_MOD_YAW
Definition: iio_types.h:95
@ IIO_VOLTAGE
Definition: iio_types.h:65
@ IIO_ANGL
Definition: iio_types.h:76
@ IIO_MOD_TEMP_AMBIENT
Definition: iio_types.h:93
struct iio_buffer * buffer
Definition: iio_types.h:228
iio_val
Definition: iio_types.h:49
uint32_t buff_index
Definition: iio_types.h:206
@ IIO_CAPACITANCE
Definition: iio_types.h:70
@ IIO_DIRECTION_OUTPUT
Definition: iio_types.h:201
struct iio_attribute * buffer_attributes
Definition: iio_types.h:260
uint32_t address
Definition: iio_types.h:113
struct iio_attribute * attributes
Definition: iio_types.h:186
uint16_t num_ch
Definition: iio_types.h:252
struct scan_type * scan_type
Definition: iio_types.h:184
@ IIO_MOD_X
Definition: iio_types.h:90
@ IIO_TEMP
Definition: iio_types.h:69
enum iio_chan_type type
Definition: iio_types.h:109
@ IIO_MOD_ROLL
Definition: iio_types.h:96
int32_t(* trigger_handler)(struct iio_device_data *dev)
Definition: iio_types.h:280
enum iio_buffer_direction dir
Definition: iio_types.h:219
struct no_os_irq_ctrl_desc * irq_desc
Definition: iio_types.h:250
Definition: iio_types.h:231
bool modified
Definition: iio_types.h:191
int scan_index
Definition: iio_types.h:182
@ IIO_MAGN
Definition: iio_types.h:73
int16_t ch_num
Definition: iio_types.h:105
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
@ IIO_INCLI
Definition: iio_types.h:74
bool is_cyclic
Definition: iio_types.h:205
Circular buffer descriptor.
Definition: no_os_circular_buffer.h:67
struct iio_attribute * attributes
Definition: iio_types.h:236
@ IIO_ROT
Definition: iio_types.h:77
int(* enable)(void *trig)
Definition: iio_types.h:238
Definition: iio_types.h:151
bool is_synchronous
Definition: iio_types.h:234
@ IIO_DELTA_ANGL
Definition: iio_types.h:79
Definition: iio_types.h:226
int32_t(* debug_reg_write)(void *dev, uint32_t reg, uint32_t writeval)
Definition: iio_types.h:285
@ IIO_VELOCITY
Definition: iio_types.h:75
Definition: no_os_irq.h:123
@ IIO_SHARED_BY_DIR
Definition: iio_types.h:121
unsigned long address
Definition: iio_types.h:180
@ IIO_DELTA_VELOCITY
Definition: iio_types.h:80
struct iio_attribute * attributes
Definition: iio_types.h:256
@ IIO_VAL_INT_MULTIPLE
Definition: iio_types.h:54
Definition: iio_types.h:204
bool indexed
Definition: iio_types.h:194
uint8_t realbits
Definition: iio_types.h:155