precision-converters-firmware
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ad3530r_iio.h
Go to the documentation of this file.
1/*************************************************************************/
14#ifndef AD3530R_IIO_H
15#define AD3530R_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 ad3530r_desc *ad3530r_dev_desc;
42extern uint8_t streaming_option;
43extern uint8_t* global_iio_buff;
44extern uint32_t num_of_samples;
45
46int32_t ad3530r_iio_initialize(void);
48
49#endif /* AD3530R_IIO_H */
uint8_t streaming_option
Definition ad3530r_iio.c:309
reg_access_mode
Register access modes.
Definition ad3530r_iio.h:31
@ STREAMING_MODE
Definition ad3530r_iio.h:33
@ SINGLE_INSTRUCTION_MODE
Definition ad3530r_iio.h:32
int32_t ad3530r_iio_initialize(void)
Initialize the IIO interface for AD3530R IIO device.
Definition ad3530r_iio.c:1471
void ad3530r_iio_event_handler(void)
Run the AD3530R IIO event handler.
Definition ad3530r_iio.c:1569
struct ad3530r_desc * ad3530r_dev_desc
Definition ad3530r_iio.c:123
uint8_t * global_iio_buff
Definition ad3530r_iio.c:328
uint32_t num_of_samples
Definition ad3530r_iio.c:312
Configuration file of nanodac firmware example program.