34#ifndef __IIO_AD4080_H__
35#define __IIO_AD4080_H__
43#define AD4080_IIO_APP_DEVICE_NAME_LEN 16
48#define AD4080_FIFO_TIMEOUT 1440000000
Header file of AD4080 Driver.
Error macro definition for ARM Compiler.
void iio_ad4080_fini(struct iio_ad4080_desc *iio_ad4080)
teardown the ad4080 IIO driver
Definition iio_ad4080.c:1808
#define AD4080_IIO_APP_DEVICE_NAME_LEN
Definition iio_ad4080.h:43
int iio_ad4080_init(struct iio_ad4080_desc **iio_ad4080, struct iio_ad4080_init_param *iio_ad4080_init_param)
Initializes the IIO AD4080 descriptor.
Definition iio_ad4080.c:1750
int ad4080_iio_device(struct iio_ad4080_desc *iio_ad4080, struct iio_device *iio_device)
Initializes the IIO device structure for the AD4080 device.
Definition iio_ad4080.c:1657
int ad4080_device(struct iio_ad4080_desc *iio_ad4080, struct ad4080_dev **ad4080)
Checks if the given pointer is a valid AD4080 IIO descriptor.
Definition iio_ad4080.c:1642
Header file for iio_types.
Header file of IRQ interface.
ad4080 Device structure.
Definition ad4080.h:326
Definition iio_ad4080.h:69
struct ad4080_dev * ad4080
Definition iio_ad4080.h:70
struct iio_ad4080_fifo_struct fifo
Definition iio_ad4080.h:71
char app_device_name[AD4080_IIO_APP_DEVICE_NAME_LEN]
Definition iio_ad4080.h:80
struct no_os_gpio_desc * afe_ctrl
Definition iio_ad4080.h:72
uint32_t app_device_count
Definition iio_ad4080.h:79
unsigned long sampling_frequency_idx
Definition iio_ad4080.h:81
struct iio_channel ch
Definition iio_ad4080.h:77
struct scan_type scan_type
Definition iio_ad4080.h:76
Definition iio_ad4080.h:53
size_t formatted_bufsize
Definition iio_ad4080.h:63
size_t watermark
Definition iio_ad4080.h:59
struct no_os_irq_ctrl_desc * irq_desc
Definition iio_ad4080.h:56
uint8_t * raw_fifo
Definition iio_ad4080.h:60
struct ad4080_dev * ad4080
Definition iio_ad4080.h:54
size_t i_gp
Definition iio_ad4080.h:57
struct no_os_gpio_desc * ff_full
Definition iio_ad4080.h:55
size_t bufsize
Definition iio_ad4080.h:61
uint32_t * formatted_fifo
Definition iio_ad4080.h:62
Structure holding the AD4080 IIO initialization parameter.
Definition iio_ad4080.h:87
struct ad4080_init_param * ad4080_init_param
Definition iio_ad4080.h:88
struct no_os_gpio_init_param * afe_ctrl_init_param
Definition iio_ad4080.h:90
struct no_os_gpio_init_param * ff_full_init_param
Definition iio_ad4080.h:89
size_t i_gp
Definition iio_ad4080.h:91
size_t watermark
Definition iio_ad4080.h:92
Struct describing the scan type.
Definition iio_types.h:160
Structure holding channels and attributes of a device.
Definition iio_types.h:239
Structure holding the GPIO descriptor.
Definition no_os_gpio.h:84
Structure holding the parameters for GPIO initialization.
Definition no_os_gpio.h:67
Definition no_os_irq.h:117