precision-converters-firmware
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ad7091r_iio.h
Go to the documentation of this file.
1/*************************************************************************/
12#ifndef AD7091R_IIO_H
13#define AD7091R_IIO_H
14
15/******************************************************************************/
16/***************************** Include Files **********************************/
17/******************************************************************************/
18
19#include <stdint.h>
20#include <stdbool.h>
21#include "iio.h"
22
23/******************************************************************************/
24/********************** Macros and Constants Definition ***********************/
25/******************************************************************************/
26
27/******************************************************************************/
28/********************** Variables and User Defined Data Types *****************/
29/******************************************************************************/
30
31/* AD7091R global device instance for accessing device specific APIs */
32extern struct ad7091r8_dev *ad7091r_dev_desc;
33extern volatile bool ad7091r_conversion_flag;
34
35/* Init the IIO interface */
36int ad7091r_iio_init(void);
37
38/* Run the IIO event handler */
40
41#endif /* AD7091R_IIO_H */
int ad7091r_iio_init(void)
Initialize the IIO interface for AD7091R IIO device.
Definition ad7091r_iio.c:1303
struct ad7091r8_dev * ad7091r_dev_desc
Definition ad7091r_iio.c:138
void ad7091r_iio_event_handler(void)
Run the AD7091R IIO event handler.
Definition ad7091r_iio.c:1396
volatile bool ad7091r_conversion_flag
Definition ad7091r_iio.c:307