no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
iio_ad713x.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef IIO_AD713X
34#define IIO_AD713X
35
36#ifdef IIO_SUPPORT
37
38#include "iio_types.h"
39#include "no_os_spi.h"
40
41struct ad713x_iio;
42
47struct ad713x_iio_init_param {
49 struct ad713x_dev *drv_dev;
51 struct iio_device *iio_dev;
53 uint32_t vref_int;
55 uint32_t vref_micro;
57 struct no_os_spi_desc *spi_eng_desc;
59 void (*dcache_invalidate_range)(uint32_t address, uint32_t bytes_count);
60};
61
62extern struct iio_device ad713x_iio_desc;
63
65int iio_ad713x_init(struct ad713x_iio **desc,
66 struct ad713x_iio_init_param *param);
67
69int iio_ad713x_remove(struct ad713x_iio *desc);
70
71#endif /* IIO_SUPPORT */
72
73#endif /* IIO_AD713X */
Header file for iio_types.
Header file of SPI Interface.
Structure holding channels and attributes of a device.
Definition iio_types.h:238