no-OS
Loading...
Searching...
No Matches
iio_ad4692.h
Go to the documentation of this file.
1/**************************************************************************/
33#ifndef IIO_AD4692_H
34#define IIO_AD4692_H
35
36#include <stdint.h>
37#include <stdbool.h>
38#include "iio.h"
39#include "iio_types.h"
40#include "no_os_irq.h"
41
42#include "ad4692.h"
43
44#define AD4692_CONV_START 0x01
45#define AD4692_CONV_STOP 0x00
46
47#define AD4692_ACC_MASK1_MASK NO_OS_GENMASK(7, 0)
48#define AD4692_ACC_MASK2_MASK NO_OS_GENMASK(15, 8)
49
56
60
63
65
66#endif /* IIO_AD4692_H */
Header file for ad4692 Driver.
Header file of iio.
int ad4692_iio_remove(struct ad4692_iio_desc *)
Definition iio_ad4692.c:811
int ad4692_iio_init(struct ad4692_iio_desc **, struct ad4692_iio_desc_init_param *)
Definition iio_ad4692.c:761
Header file for iio_types.
Header file of IRQ interface.
Definition iio_ad4692.h:57
struct ad4692_init_param * ad4692_init_param
Definition iio_ad4692.h:58
Definition iio_ad4692.h:50
uint32_t active_channels
Definition iio_ad4692.h:53
uint8_t no_of_active_channels
Definition iio_ad4692.h:54
struct iio_device * iio_dev
Definition iio_ad4692.h:52
struct ad4692_desc * ad4692_desc
Definition iio_ad4692.h:51
Structure holding channels and attributes of a device.
Definition iio_types.h:239