precision-converters-firmware
ad7689_iio.h
Go to the documentation of this file.
1 /***************************************************************************/
12 #ifndef _AD7689_IIO_H_
13 #define _AD7689_IIO_H_
14 
15 /******************************************************************************/
16 /***************************** Include Files **********************************/
17 /******************************************************************************/
18 
19 #include "iio.h"
20 #include "iio_types.h"
21 #include "ad7689.h"
22 
23 /******************************************************************************/
24 /********************** Macros and Constants Definition ***********************/
25 /******************************************************************************/
26 
27 /******************************************************************************/
28 /********************** Public/Extern Declarations ****************************/
29 /******************************************************************************/
30 
31 /* AD7689 global device instance for accessing device specific APIs */
32 extern struct ad7689_dev *p_ad7689_dev_inst;
33 
34 /* AD7689 current device config */
35 extern struct ad7689_config ad7689_current_config;
36 
37 /* Init the IIO interface */
38 int32_t ad7689_iio_initialize(void);
39 
40 /* Run the IIO event handler */
41 void ad7689_iio_event_handler(void);
42 
43 #endif /* _AD7689_IIO_H_ */
struct ad7689_dev * p_ad7689_dev_inst
Definition: ad7689_iio.c:92
struct ad7689_config ad7689_current_config
Definition: ad7689_iio.c:128
void ad7689_iio_event_handler(void)
Run the AD7689 IIO event handler.
Definition: ad7689_iio.c:780
int32_t ad7689_iio_initialize(void)
Initialize the IIO interface for AD7689 IIO device.
Definition: ad7689_iio.c:667