no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
iio_admfm2000.h File Reference

Header file for admfm2000 IIO Driver. More...

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

Go to the source code of this file.

Classes

struct  admfm2000_iio_dev
 
struct  admfm2000_iio_dev_init_param
 

Functions

int admfm2000_iio_init (struct admfm2000_iio_dev **iio_dev, struct admfm2000_iio_dev_init_param *init_param)
 Initialize the iio device.
 
int admfm2000_iio_remove (struct admfm2000_iio_dev *desc)
 Free the resources allocated by admfm2000_iio_init().
 

Detailed Description

Header file for admfm2000 IIO Driver.

Author
Ramona Nechita (ramon.nosp@m.a.ne.nosp@m.chita.nosp@m.@ana.nosp@m.log.c.nosp@m.om)

Copyright 2025(c) Analog Devices, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Function Documentation

◆ admfm2000_iio_init()

int admfm2000_iio_init ( struct admfm2000_iio_dev ** iio_dev,
struct admfm2000_iio_dev_init_param * init_param )

Initialize the iio device.

Parameters
iio_dev- The iio device structure.
init_param- The iio device initialization structure.
Returns
SUCCESS in case of success, FAILURE otherwise.

◆ admfm2000_iio_remove()

int admfm2000_iio_remove ( struct admfm2000_iio_dev * desc)

Free the resources allocated by admfm2000_iio_init().

Parameters
desc- The iio device structure.
Returns
SUCCESS in case of success, FAILURE otherwise.