no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
iio_ad463x.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef IIO_AD463x
34#define IIO_AD463x
35
36#ifdef IIO_SUPPORT
37
38#include <stdio.h>
39#include "iio_types.h"
40#include "no_os_spi.h"
41
42struct iio_ad463x {
43 /* Mask of active ch */
44 uint32_t mask;
46 struct iio_device iio_dev_desc;
48 struct ad463x_dev *ad463x_desc;
49};
50
51/* Init function. */
52int32_t iio_ad463x_init(struct iio_ad463x **desc,
53 struct ad463x_dev *dev);
54
55/* Free the resources allocated by iio_ad463x_init(). */
56int32_t iio_ad463x_remove(struct iio_ad463x *desc);
57
58#endif /* IIO_SUPPORT */
59
60#endif /* IIO_AD463x */
Header file for iio_types.
Header file of SPI Interface.
Device initialization parameters.
Definition ad463x.h:230