precision-converters-firmware
Loading...
Searching...
No Matches
dpot_iio.h
Go to the documentation of this file.
1/***************************************************************************/
32#ifndef DPOT_IIO_H_
33#define DPOT_IIO_H_
34
35/******************************************************************************/
36/***************************** Include Files **********************************/
37/******************************************************************************/
38
39#include "iio.h"
40#include "iio_types.h"
41
42/******************************************************************************/
43/********************** Macros and Constants Definition ***********************/
44/******************************************************************************/
45
46/******************************************************************************/
47/********************** Public/Extern Declarations ****************************/
48/******************************************************************************/
49
50/* Init the IIO interface */
51int dpot_iio_init(void);
52
53/* Run the IIO event handler */
54void dpot_iio_event_handler(void);
55
56/* Digipot device descriptor */
57extern struct dpot_dev *dpot_dev_desc;
58
59#endif /* DPOT_IIO_H_ */
int dpot_iio_init(void)
Initialize the IIO interface for digipot IIO device.
Definition dpot_iio.c:1222
struct dpot_dev * dpot_dev_desc
Definition dpot_iio.c:100
void dpot_iio_event_handler(void)
Run the digipot IIO event handler.
Definition dpot_iio.c:1324
Digital potentiometer device descriptor parameters.
Definition dpot.h:176