precision-converters-firmware
Functions | Variables
ad7091r_iio.h File Reference

Header file for AD7091R IIO interface. More...

#include <stdint.h>
#include <stdbool.h>
#include "iio.h"
Include dependency graph for ad7091r_iio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ad7091r_iio_init (void)
 Initialize the IIO interface for AD7091R IIO device. More...
 
void ad7091r_iio_event_handler (void)
 Run the AD7091R IIO event handler. More...
 

Variables

struct ad7091r8_dev * ad7091r_dev_desc
 
volatile bool ad7091r_conversion_flag
 

Detailed Description

Header file for AD7091R IIO interface.

Copyright (c) 2024 Analog Devices, Inc.

This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Function Documentation

◆ ad7091r_iio_event_handler()

void ad7091r_iio_event_handler ( void  )

Run the AD7091R IIO event handler.

Returns
none.

This function monitors the new IIO client event.

Here is the caller graph for this function:

◆ ad7091r_iio_init()

int ad7091r_iio_init ( void  )

Initialize the IIO interface for AD7091R IIO device.

Returns
0 in case of success, negative error code otherwise.
Here is the caller graph for this function:

Variable Documentation

◆ ad7091r_conversion_flag

volatile bool ad7091r_conversion_flag
extern

◆ ad7091r_dev_desc

struct ad7091r8_dev* ad7091r_dev_desc
extern