no-OS
Functions
iio_adis1657x.h File Reference

Implementation of iio_adis1657x.h. More...

#include "iio_adis_internals.h"
#include "adis1657x.h"
Include dependency graph for iio_adis1657x.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int adis1657x_iio_init (struct adis_iio_dev **iio_dev, struct adis_init_param *init_param, struct iio_hw_trig *adis1657x_trig_desc)
 Initialize adis1657x iio device. More...
 
void adis1657x_iio_remove (struct adis_iio_dev *desc)
 Remove adis1657x iio device. More...
 

Detailed Description

Implementation of iio_adis1657x.h.

Author
RBolboac (ramon.nosp@m.a.bo.nosp@m.lboac.nosp@m.a@an.nosp@m.alog..nosp@m.com)

Copyright 2023(c) Analog Devices, Inc.

All rights reserved.

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

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, 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

◆ adis1657x_iio_init()

int adis1657x_iio_init ( struct adis_iio_dev **  iio_dev,
struct adis_init_param init_param,
struct iio_hw_trig adis1657x_trig_desc 
)

Initialize adis1657x iio device.

Initialize adis1657x iio device.

Parameters
iio_dev- The adis1657x iio device.
init_param- The structure that contains the device initial parameters.
adis1657x_trig_desc- Trigger descriptor for data ready pin.
Returns
0 in case of success, error code otherwise.
Here is the caller graph for this function:

◆ adis1657x_iio_remove()

void adis1657x_iio_remove ( struct adis_iio_dev desc)

Remove adis1657x iio device.

Remove adis1657x iio device.

Parameters
desc- The adis1657x iio device.
Here is the caller graph for this function: