@ CH11
Definition: iio_ad413x.c:380
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:116
int32_t ad413x_set_int_ref(struct ad413x_dev *dev, enum ad413x_int_ref int_ref)
Definition: ad413x.c:121
enum ad413x_preset_nb preset
Definition: ad413x.h:456
Initial parameter structure.
Definition: ad413x.h:492
@ IIO_VAL_INT
Definition: iio_types.h:50
Struct describing the scan type.
Definition: iio_types.h:168
enum ad413x_gain gain
Definition: ad413x.h:443
char sign
Definition: iio_types.h:153
@ AD413X_GAIN_128
Definition: ad413x.h:379
@ IIO_SEPARATE
Definition: iio_types.h:119
int32_t ad413x_iio_remove(struct ad413x_iio_dev *desc)
Definition: iio_ad413x.c:457
@ CH7
Definition: iio_ad413x.c:376
@ AD413X_GAIN_8
Definition: ad413x.h:375
struct scan_type ad413x_iio_scan_type
Definition: iio_ad413x.c:14
@ AD413X_GAIN_64
Definition: ad413x.h:378
Structure holding channel attributess.
Definition: iio_types.h:103
@ CH1
Definition: iio_ad413x.c:370
struct ad413x_preset preset[8]
Definition: ad413x.h:475
@ IIO_VAL_FRACTIONAL
Definition: iio_types.h:55
Header file of Delay functions.
@ AD413X_GAIN_16
Definition: ad413x.h:376
#define AD413X_REG_CHN(x)
Definition: ad413x.h:69
int32_t ad413x_iio_init(struct ad413x_iio_dev **iio_dev, struct ad413x_iio_init_param init_param)
Definition: iio_ad413x.c:432
Definition: ad9361_util.h:69
int32_t ad413x_iio_remove(struct ad413x_iio_dev *desc)
Definition: iio_ad413x.c:457
ad413x_gain
Gain options.
Definition: ad413x.h:371
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
@ CH2
Definition: iio_ad413x.c:371
@ AD413X_GAIN_2
Definition: ad413x.h:373
@ CH4
Definition: iio_ad413x.c:373
@ IIO_SHARED_BY_ALL
Definition: iio_types.h:122
@ CH0
Definition: iio_ad413x.c:369
@ AD413X_GAIN_32
Definition: ad413x.h:377
Header file of AD413X Driver.
const char * name
Definition: iio_types.h:131
#define AD413X_ADC_DATA_STATUS
Definition: ad413x.h:86
#define AD413X_ADC_REF_VAL
Definition: ad413x.h:83
int32_t ad413x_adc_bipolar(struct ad413x_dev *dev, uint8_t enable)
Definition: ad413x.c:511
@ AD413X_INTREF_1_25V
Definition: ad413x.h:348
int32_t ad413x_single_conv(struct ad413x_dev *dev, uint32_t *buffer, uint8_t ch_nb)
Definition: ad413x.c:766
struct ad413x_channel ch[16]
Definition: ad413x.h:476
struct iio_device * iio_dev
Definition: iio_ad413x.h:42
struct ad413x_dev * ad413x_dev
Definition: iio_ad413x.h:41
Structure holding pointers to show and store functions.
Definition: iio_types.h:129
@ CH9
Definition: iio_ad413x.c:378
#define AD413X_ENABLE_M
Definition: ad413x.h:153
Definition: iio_ad413x.h:40
int32_t ad413x_reg_write(struct ad413x_dev *dev, uint32_t reg_addr, uint32_t reg_data)
Definition: ad413x.c:650
#define AD413X_REG_ADC_CTRL
Definition: ad413x.h:61
int32_t ad413x_remove(struct ad413x_dev *dev)
Free the resources allocated by ad413x_init().
Definition: ad413x.c:1073
@ CH10
Definition: iio_ad413x.c:379
@ AD413X_GAIN_1
Definition: ad413x.h:372
@ CH15
Definition: iio_ad413x.c:384
#define AD413X_IIO_CHANN_DEF(nm, ch_nb)
Definition: iio_ad413x.c:387
int32_t ad413x_init(struct ad413x_dev **device, struct ad413x_init_param init_param)
Definition: ad413x.c:908
int iio_format_value(char *buf, uint32_t len, enum iio_val fmt, int32_t size, int32_t *vals)
Definition: iio.c:686
struct iio_attribute * attributes
Definition: iio_types.h:186
uint16_t num_ch
Definition: iio_types.h:252
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
int32_t ad413x_continuous_conv(struct ad413x_dev *dev, uint32_t *buffer, uint8_t ch_nb, uint32_t sample_nb)
Definition: ad413x.c:818
int32_t ad413x_ch_en(struct ad413x_dev *dev, uint8_t ch_nb, uint8_t enable)
Definition: ad413x.c:461
Definition: iio_ad413x.h:45
#define NULL
Definition: wrapper.h:64
Device structure.
Definition: ad413x.h:469
@ CH6
Definition: iio_ad413x.c:375
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
int16_t ch_num
Definition: iio_types.h:105
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
@ CH8
Definition: iio_ad413x.c:377
@ AD413X_INTREF_2_5V
Definition: ad413x.h:347
@ CH5
Definition: iio_ad413x.c:374
@ AD413X_GAIN_4
Definition: ad413x.h:374
#define AD413X_ADC_BIPOLAR
Definition: ad413x.h:82
Definition: iio_types.h:151
@ CH14
Definition: iio_ad413x.c:383
@ CH3
Definition: iio_ad413x.c:372
Header file of utility functions.
uint32_t no_os_find_first_set_bit(uint32_t word)
@ CH12
Definition: iio_ad413x.c:381
ad413x_chan
Definition: iio_ad413x.c:368
Header file of iio_ad413x.
int32_t ad413x_iio_init(struct ad413x_iio_dev **iio_dev, struct ad413x_iio_init_param init_param)
Definition: iio_ad413x.c:432
@ CH13
Definition: iio_ad413x.c:382
struct ad413x_init_param ad413x_ip
Definition: iio_ad413x.h:46
int32_t ad413x_reg_read(struct ad413x_dev *dev, uint32_t reg_addr, uint32_t *reg_data)
Definition: ad413x.c:695