precision-converters-firmware
Enumerations | Functions | Variables
ad4130_iio.h File Reference

Header file of AD4130 IIO interface. More...

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

Go to the source code of this file.

Enumerations

enum  sensor_channels {
  SENSOR_CHANNEL0 ,
  SENSOR_CHANNEL1 ,
  NUM_OF_SENSOR_CHANNELS ,
  SENSOR_CHANNEL0 ,
  SENSOR_CHANNEL1 ,
  SENSOR_CHANNEL2 ,
  SENSOR_CHANNEL3 ,
  NUM_OF_SENSOR_CHANNELS ,
  SENSOR_CHANNEL0 ,
  SENSOR_CHANNEL1 ,
  SENSOR_CHANNEL2 ,
  SENSOR_CHANNEL3 ,
  SENSOR_CHANNEL4 ,
  SENSOR_CHANNEL5 ,
  SENSOR_CHANNEL6 ,
  SENSOR_CHANNEL7 ,
  NUM_OF_SENSOR_CHANNELS
}
 

Functions

int32_t ad4130_iio_initialize (void)
 Initialize the IIO interface for AD4130 IIO device. More...
 
void ad4130_iio_event_handler (void)
 Run the AD4130 IIO event handler. More...
 

Variables

struct ad413x_dev * ad4130_dev_inst
 

Detailed Description

Header file of AD4130 IIO interface.

Copyright (c) 2020, 2022 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

◆ sensor_channels

Enumerator
SENSOR_CHANNEL0 
SENSOR_CHANNEL1 
NUM_OF_SENSOR_CHANNELS 
SENSOR_CHANNEL0 
SENSOR_CHANNEL1 
SENSOR_CHANNEL2 
SENSOR_CHANNEL3 
NUM_OF_SENSOR_CHANNELS 
SENSOR_CHANNEL0 
SENSOR_CHANNEL1 
SENSOR_CHANNEL2 
SENSOR_CHANNEL3 
SENSOR_CHANNEL4 
SENSOR_CHANNEL5 
SENSOR_CHANNEL6 
SENSOR_CHANNEL7 
NUM_OF_SENSOR_CHANNELS 

Function Documentation

◆ ad4130_iio_event_handler()

void ad4130_iio_event_handler ( void  )

Run the AD4130 IIO event handler.

Returns
none

This function monitors the new IIO client event

Here is the caller graph for this function:

◆ ad4130_iio_initialize()

int32_t ad4130_iio_initialize ( void  )

Initialize the IIO interface for AD4130 IIO device.

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

Variable Documentation

◆ ad4130_dev_inst

struct ad413x_dev* ad4130_dev_inst
extern