no-OS
iio_adg2128.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef IIO_ADG2128_H
35 #define IIO_ADG2128_H
36 
37 #include "iio.h"
38 
42 };
43 
44 int32_t adg2128_iio_init(struct adg2128_iio_dev **iio_dev,
45  struct no_os_i2c_desc *i2c_desc);
46 int32_t adg2128_iio_remove(struct adg2128_iio_dev *desc);
47 
48 #endif
no_os_alloc.h
no_os_i2c_write
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
adg2128_iio_init
int32_t adg2128_iio_init(struct adg2128_iio_dev **iio_dev, struct no_os_i2c_desc *i2c_desc)
Definition: iio_adg2128.c:53
no_os_delay.h
Header file of Delay functions.
adg2128_iio_remove
int32_t adg2128_iio_remove(struct adg2128_iio_dev *desc)
Definition: iio_adg2128.c:69
no_os_calloc
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
iio_adg2128.h
Header file of iio_adg2128.
no_os_i2c_desc::slave_address
uint8_t slave_address
Definition: no_os_i2c.h:109
iio.h
Header file of iio.
no_os_error.h
Error codes definition.
adg2128_iio_remove
int32_t adg2128_iio_remove(struct adg2128_iio_dev *desc)
Definition: iio_adg2128.c:69
adg2128_iio_dev::iio_dev
struct iio_device * iio_dev
Definition: iio_adg2128.h:40
no_os_i2c_desc
Structure holding I2C address descriptor.
Definition: no_os_i2c.h:101
no_os_i2c_read
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
no_os_i2c.h
Header file of I2C Interface.
adg2128_iio_init
int32_t adg2128_iio_init(struct adg2128_iio_dev **iio_dev, struct no_os_i2c_desc *i2c_desc)
Definition: iio_adg2128.c:53
iio_device::num_ch
uint16_t num_ch
Definition: iio_types.h:252
no_os_free
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
NULL
#define NULL
Definition: wrapper.h:64
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
adg2128_iio_dev
Definition: iio_adg2128.h:39
adg2128_iio_dev::i2c_desc
struct no_os_i2c_desc * i2c_desc
Definition: iio_adg2128.h:41
no_os_util.h
Header file of utility functions.