Go to the documentation of this file.
39 #ifndef __IIO_MAX11205_H__
40 #define __IIO_MAX11205_H__
struct iio_device * iio_dev
Definition: iio_max11205.h:59
#define MAX11205_NEW_DATA_TIMEOUT
Definition: iio_max11205.c:54
int max11205_get_data_raw(struct max11205_dev *dev, bool *new_data_avail, int16_t *data_raw)
Get the converted data.
Definition: max11205.c:173
#define MAX11205_BIT_SCALE
Definition: iio_max11205.c:53
uint32_t timeout
Definition: ad413x.c:55
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:121
@ IIO_VAL_INT
Definition: iio_types.h:56
Struct describing the scan type.
Definition: iio_types.h:173
char sign
Definition: iio_types.h:158
Definition: max11205.h:79
int32_t sampling_frequency
Definition: iio_max11205.h:61
@ IIO_VAL_FRACTIONAL_LOG2
Definition: iio_types.h:62
enum max11205_dev_id dev_id
Definition: iio_max11205.h:68
Structure holding channel attributess.
Definition: iio_types.h:108
int max11205_iio_remove(struct max11205_iio_dev *desc)
Free the resources allocated by max11205_iio_init().
Definition: iio_max11205.c:292
enum iio_chan_type ch_type
Definition: iio_types.h:177
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:60
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:53
int max11205_init(struct max11205_dev **device, struct max11205_init_param init_param)
Initializes the communication peripheral.
Definition: max11205.c:91
Definition: iio_max11205.h:55
const char * name
Definition: iio_types.h:136
Structure holding pointers to show and store functions.
Definition: iio_types.h:134
int max11205_iio_init(struct max11205_iio_dev **iio_dev, struct max11205_iio_dev_init_param *init_param)
Initializes the max11205 iio driver.
Definition: iio_max11205.c:258
struct max11205_init_param * max11205_dev_init
Definition: iio_max11205.h:66
@ MAX11205A
Definition: iio_max11205.h:51
Definition: max11205.h:62
@ IIO_VOLTAGE
Definition: iio_types.h:71
int max11205_iio_remove(struct max11205_iio_dev *desc)
Free the resources allocated by max11205_iio_init().
Definition: iio_max11205.c:292
struct max11205_dev * max11205_dev
Definition: iio_max11205.h:57
#define MAX11205A_OUT_DATA_RATE
Definition: iio_max11205.c:55
int max11205_iio_init(struct max11205_iio_dev **iio_dev, struct max11205_iio_dev_init_param *init_param)
Initializes the max11205 iio driver.
Definition: iio_max11205.c:258
int iio_format_value(char *buf, uint32_t len, enum iio_val fmt, int32_t size, int32_t *vals)
Definition: iio.c:666
max11205_dev_id
Definition: iio_max11205.h:50
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:75
enum iio_chan_type type
Definition: iio_types.h:114
Header file of iio max11205 driver.
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:119
Structure holding channels and attributes of a device.
Definition: iio_types.h:252
#define MAX11205B_OUT_DATA_RATE
Definition: iio_max11205.c:56
int max11205_remove(struct max11205_dev *dev)
Free memory allocated by max11205_init().
Definition: max11205.c:209
uint32_t vref_mv
Definition: max11205.h:72
Implementation of max11205.h.
Definition: iio_types.h:156
Header file of utility functions.
@ MAX11205B
Definition: iio_max11205.h:52
Error macro definition for ARM Compiler.
Definition: iio_max11205.h:64