82 uint32_t len,
const struct iio_ch_info *channel, intptr_t priv);
88 uint32_t len,
const struct iio_ch_info *channel, intptr_t priv);
struct ad7616_init_param init_param
Definition ad7616_sdz.c:107
int ad405x_iio_init(struct ad405x_iio_dev **iio_dev, struct ad405x_iio_dev_init_param *init_param)
Initializes the AD405X IIO driver.
Definition iio_ad405x.c:411
@ AD405X_DEBUG_AVG_FILTER_LEN
Definition iio_ad405x.h:50
@ AD405X_DEBUG_SAMPLE_RATE
Definition iio_ad405x.h:49
int ad405x_iio_write_avg_filter_length(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the write request for average filter length attribute.
Definition iio_ad405x.c:341
int ad405x_iio_read_sample_rate(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for sample rate attribute.
Definition iio_ad405x.c:306
int ad405x_iio_read_avg_filter_length(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for average filter length attribute.
Definition iio_ad405x.c:379
int ad405x_iio_read_debug_attrs(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for debug attributes.
Definition iio_ad405x.c:176
int ad405x_iio_write_debug_attrs(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the write request for debug attributes.
Definition iio_ad405x.c:220
int ad405x_iio_remove(struct ad405x_iio_dev *desc)
Free the resources allocated by ad405x_iio_init().
Definition iio_ad405x.c:456
int ad405x_iio_write_sample_rate(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the write request for sampling rate attribute.
Definition iio_ad405x.c:268
ADIS IIO debug attributes enumeration.
Definition iio_ad405x.h:70
struct ad405x_init_param * ad405x_dev_init
Definition iio_ad405x.h:71
AD405X IIO device structure.
Definition iio_ad405x.h:57
struct ad405x_dev * ad405x_dev
Definition iio_ad405x.h:59
struct iio_device * iio_dev
Definition iio_ad405x.h:61
uint32_t active_channels
Definition iio_ad405x.h:62
uint8_t no_of_active_channels
Definition iio_ad405x.h:63
Structure holding the parameters for AD405X device initialization.
Definition ad405x.h:183
Structure holding channel attributess.
Definition iio_types.h:94
Structure holding channels and attributes of a device.
Definition iio_types.h:238