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

Header for AD405X IIO application. More...

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

Go to the source code of this file.

Functions

int32_t iio_ad405x_initialize (void)
 Initialize the IIO interface for AD405X IIO device. More...
 
void iio_ad405x_event_handler (void)
 Run the AD405X IIO event handler. More...
 
void data_capture_callback (void *context)
 Interrupt Service Routine to monitor data ready event. More...
 

Variables

struct ad405x_dev * p_ad405x_dev
 

Detailed Description

Header for AD405X IIO application.

Copyright (c) 2023-2024 Analog Devices, Inc.

All rights reserved.

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

◆ data_capture_callback()

void data_capture_callback ( void *  ctx)

Interrupt Service Routine to monitor data ready event.

Parameters
context[in]- Callback context (unused)
Returns
none

Interrupt Service Routine to monitor data ready event.

Parameters
ctx[in]- Callback context (unused)
Returns
none
Note
Callback registered for the the RDY interrupt to indicate end of conversion in case of burst data capturing.

Interrupt Service Routine to monitor data ready event.

Parameters
ctx[in]- Callback context (unused)
Returns
none
Note
Callback registered for the the DRDY interrupt to indicate end of conversion in case of burst data capturing with SPI operation.

◆ iio_ad405x_event_handler()

void iio_ad405x_event_handler ( void  )

Run the AD405X IIO event handler.

Returns
none

This function monitors the new IIO client event

Here is the caller graph for this function:

◆ iio_ad405x_initialize()

int32_t iio_ad405x_initialize ( void  )

Initialize the IIO interface for AD405X IIO device.

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

Variable Documentation

◆ p_ad405x_dev

struct ad405x_dev* p_ad405x_dev
extern