41#define CHANNEL_COUNT 2
42#define SCALED_VOLTAGE 50
43#define DECIMAL_POINT_SCALE_VOLTAGE 10000
struct ad7616_init_param init_param
Definition ad7616_sdz.c:107
int ltc7841_iio_init(struct ltc7841_iio_desc **iio_desc, struct ltc7841_iio_desc_init_param *init_param)
Initializes the LTC7841 IIO descriptor.
Definition iio_ltc7841.c:98
int ltc7841_iio_remove(struct ltc7841_iio_desc *desc)
Free resources allocated by the init function.
Definition iio_ltc7841.c:134
Header file of LTC7841 Driver.
Structure holding channels and attributes of a device.
Definition iio_types.h:238
Structure holding the LTC7841 IIO initialization parameter.
Definition iio_ltc7841.h:56
uint8_t LTC7841_rsense_value
Definition iio_ltc7841.h:59
struct ltc7841_init_param * ltc7841_init_param
Definition iio_ltc7841.h:57
Structure holding the LTC7841 IIO device descriptor.
Definition iio_ltc7841.h:48
struct ltc7841_desc * ltc7841_desc
Definition iio_ltc7841.h:49
struct iio_device * iio_dev
Definition iio_ltc7841.h:50