int32_t no_os_i2c_write(struct no_os_i2c_desc *desc, uint8_t *data, uint8_t bytes_number, uint8_t stop_bit)
I2C Write data to slave device.
Definition: no_os_i2c.c:159
int32_t adg2128_iio_init(struct adg2128_iio_dev **iio_dev, struct no_os_i2c_desc *i2c_desc)
Definition: iio_adg2128.c:53
Header file of Delay functions.
int32_t adg2128_iio_remove(struct adg2128_iio_dev *desc)
Definition: iio_adg2128.c:69
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
Header file of iio_adg2128.
uint8_t slave_address
Definition: no_os_i2c.h:109
int32_t adg2128_iio_remove(struct adg2128_iio_dev *desc)
Definition: iio_adg2128.c:69
struct iio_device * iio_dev
Definition: iio_adg2128.h:40
Structure holding I2C address descriptor.
Definition: no_os_i2c.h:101
int32_t no_os_i2c_read(struct no_os_i2c_desc *desc, uint8_t *data, uint8_t bytes_number, uint8_t stop_bit)
I2C Read data from slave device.
Definition: no_os_i2c.c:190
Header file of I2C Interface.
int32_t adg2128_iio_init(struct adg2128_iio_dev **iio_dev, struct no_os_i2c_desc *i2c_desc)
Definition: iio_adg2128.c:53
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
#define NULL
Definition: wrapper.h:64
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
Definition: iio_adg2128.h:39
struct no_os_i2c_desc * i2c_desc
Definition: iio_adg2128.h:41
Header file of utility functions.