no-OS
Loading...
Searching...
No Matches
iio_ad5933.h File Reference

Header file of the AD5933 IIO driver. More...

#include <stdint.h>
#include <iio_types.h>
#include "ad5933.h"
Include dependency graph for iio_ad5933.h:

Classes

struct  ad5933_iio_dev
 AD5933 IIO device descriptor. More...
 
struct  ad5933_iio_dev_init_param
 AD5933 IIO device initialization parameters. More...
 

Enumerations

enum  ad5933_measure_mode {
  AD5933_MEASURE_MODE_SINGLE ,
  AD5933_MEASURE_MODE_SWEEP
}
 

Functions

int ad5933_iio_init (struct ad5933_iio_dev **iio_dev, struct ad5933_iio_dev_init_param *init_param)
 Initialize the AD5933 IIO driver.
 
int ad5933_iio_remove (struct ad5933_iio_dev *desc)
 Free the resources allocated by ad5933_iio_init().
 

Detailed Description

Header file of the AD5933 IIO driver.

Author
Mark John Lerry Casero (markj.nosp@m.ohnl.nosp@m.erry..nosp@m.case.nosp@m.ro@an.nosp@m.alog.nosp@m..com)

Copyright 2026(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Enumeration Type Documentation

◆ ad5933_measure_mode

Enumerator
AD5933_MEASURE_MODE_SINGLE 
AD5933_MEASURE_MODE_SWEEP 

Function Documentation

◆ ad5933_iio_init()

int ad5933_iio_init ( struct ad5933_iio_dev ** iio_dev,
struct ad5933_iio_dev_init_param * init_param )

Initialize the AD5933 IIO driver.

Initialize the AD5933 IIO driver.

Parameters
iio_dev- The AD5933 IIO device descriptor.
init_param- The AD5933 IIO device initialization parameters.
Returns
0 in case of success, negative error code otherwise.

◆ ad5933_iio_remove()

int ad5933_iio_remove ( struct ad5933_iio_dev * desc)

Free the resources allocated by ad5933_iio_init().

Free the resources allocated by ad5933_iio_init().

Parameters
desc- The AD5933 IIO device descriptor.
Returns
0 in case of success, negative error code otherwise.