precision-converters-firmware
Loading...
Searching...
No Matches
Enumerations | 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.

Enumerations

enum  ad405x_interface_modes {
  SPI_DMA ,
  SPI_INTR ,
  I3C_DMA ,
  I3C_INTR
}
 

Functions

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

Variables

struct ad405x_dev * p_ad405x_dev
 
enum ad405x_interface_modes ad405x_interface_mode
 
enum ad405x_operation_mode ad405x_operating_mode
 

Detailed Description

Header for AD405X IIO application.

Copyright (c) 2023-2025 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.

Enumeration Type Documentation

◆ ad405x_interface_modes

Enumerator
SPI_DMA 
SPI_INTR 
I3C_DMA 
I3C_INTR 

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

◆ ad405x_interface_mode

enum ad405x_interface_modes ad405x_interface_mode
extern

◆ ad405x_operating_mode

enum ad405x_operation_mode ad405x_operating_mode
extern

◆ p_ad405x_dev

struct ad405x_dev* p_ad405x_dev
extern