precision-converters-firmware
Loading...
Searching...
No Matches
ad5706r_iio.h
Go to the documentation of this file.
1/*************************************************************************/
12#ifndef AD5706_IIO_H
13#define AD5706_IIO_H
14
15/******************************************************************************/
16/***************************** Include Files **********************************/
17/******************************************************************************/
18#include <stdint.h>
19#include "ad5706r.h"
20/******************************************************************************/
21/********************** Macros and Constants Definition ***********************/
22/******************************************************************************/
23
24#define NUM_IIO_DEVICES 2
25
26/******************************************************************************/
27/********************** Variables and User Defined Data Types *****************/
28/******************************************************************************/
29
30/* AD5706R global device instance for accessing device specific APIs */
31extern struct ad5706r_dev *ad5706r_dev_inst[NUM_IIO_DEVICES];
32
33/* Init the IIO interface */
34int32_t ad5706r_iio_initialize(void);
35
36/* Run the IIO event handler */
38
39#endif /* AD5706_IIO_H */
void ad5706r_iio_event_handler(void)
Run the AD5706R IIO event handler.
Definition ad5706r_iio.c:2306
#define NUM_IIO_DEVICES
Definition ad5706r_iio.h:24
int32_t ad5706r_iio_initialize(void)
Initialize the IIO interface for AD5706R IIO device.
Definition ad5706r_iio.c:2105
struct ad5706r_dev * ad5706r_dev_inst[NUM_IIO_DEVICES]
Definition ad5706r_iio.c:132