precision-converters-firmware
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ad4130_iio.h
Go to the documentation of this file.
1/***************************************************************************/
12#ifndef AD4130_IIO_H_
13#define AD4130_IIO_H_
14
15/******************************************************************************/
16/***************************** Include Files **********************************/
17/******************************************************************************/
18
19#include <stdio.h>
20#include <stdbool.h>
21#include "iio.h"
22#include "iio_types.h"
23
24/******************************************************************************/
25/****************************** Macros ****************************************/
26/******************************************************************************/
27
28/* ADC channels assigned to sensors for the measurement
29 * (each channel per sensor) */
35
36/******************************************************************************/
37/************************ Public Declarations *********************************/
38/******************************************************************************/
39
40/* Init the IIO interface */
41int32_t ad4130_iio_initialize(void);
42
43/* Run the IIO event handler */
45
46extern struct ad413x_dev *ad4130_dev_inst;
47
48#endif /* AD4130_IIO_H_ */
sensor_channels
Definition ad4130_iio.h:30
@ SENSOR_CHANNEL1
Definition ad4130_iio.h:32
@ NUM_OF_SENSOR_CHANNELS
Definition ad4130_iio.h:33
@ SENSOR_CHANNEL0
Definition ad4130_iio.h:31
void ad4130_iio_event_handler(void)
Run the AD4130 IIO event handler.
Definition ad4130_iio.c:1762
struct ad413x_dev * ad4130_dev_inst
Definition ad4130_iio.c:168
int32_t ad4130_iio_initialize(void)
Initialize the IIO interface for AD4130 IIO device.
Definition ad4130_iio.c:1675