precision-converters-firmware
Loading...
Searching...
No Matches
ad5710r_iio.h
Go to the documentation of this file.
1/*************************************************************************/
14#ifndef AD5710R_IIO_H
15#define AD5710R_IIO_H
16
17/******************************************************************************/
18/***************************** Include Files **********************************/
19/******************************************************************************/
20#include <stdint.h>
21#include "iio.h"
22#include "app_config.h"
23
24/******************************************************************************/
25/********************** Macros and Constants Definition ***********************/
26/******************************************************************************/
35
36/******************************************************************************/
37/********************** Variables and User Defined Data Types *****************/
38/******************************************************************************/
39
40/* AD3530r global device instance for accessing device specific APIs */
41extern struct ad5710r_desc *ad5710r_dev_desc;
42extern uint8_t streaming_option;
43extern uint8_t* global_iio_buff;
44extern uint32_t num_of_samples;
45
46int32_t ad5710r_iio_initialize(void);
48
49#endif /* AD5710R_IIO_H */
reg_access_mode
Register access modes.
Definition ad3530r_iio.h:31
uint8_t streaming_option
Definition ad3530r_iio.c:310
@ STREAMING_MODE
Definition ad5710r_iio.h:33
@ SINGLE_INSTRUCTION_MODE
Definition ad5710r_iio.h:32
int32_t ad5710r_iio_initialize(void)
Initialize the IIO interface for AD5710R IIO device.
Definition ad5710r_iio.c:1554
struct ad5710r_desc * ad5710r_dev_desc
Definition ad5710r_iio.c:124
void ad5710r_iio_event_handler(void)
Run the AD5710R IIO event handler.
Definition ad5710r_iio.c:1694
uint8_t * global_iio_buff
Definition ad3530r_iio.c:329
uint32_t num_of_samples
Definition ad3530r_iio.c:313
Configuration file of nanodac firmware example program.