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

Header file of IIO ADT7420 Driver. More...

#include <stdint.h>
#include <stdlib.h>
#include "iio.h"
Include dependency graph for iio_adt7420.h:

Classes

struct  adt7420_iio_dev
 iio device descriptor. More...
 
struct  adt7420_iio_init_param
 Configuration structure. More...
 

Functions

int adt7420_iio_init (struct adt7420_iio_dev **iio_dev, struct adt7420_iio_init_param *init_param)
 Initializes the adt7420 IIO driver.
 
int adt7420_iio_remove (struct adt7420_iio_dev *desc)
 Free the resources allocated by adt7420_iio_init().
 

Detailed Description

Header file of IIO ADT7420 Driver.

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

Copyright 2022(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ adt7420_iio_init()

int adt7420_iio_init ( struct adt7420_iio_dev ** iio_dev,
struct adt7420_iio_init_param * init_param )

Initializes the adt7420 IIO driver.

Parameters
iio_dev- The iio device structure.
init_param- structure containing initial device parameters
Returns
ret - Result of the filling procedure.

◆ adt7420_iio_remove()

int adt7420_iio_remove ( struct adt7420_iio_dev * desc)

Free the resources allocated by adt7420_iio_init().

Parameters
desc- The IIO device structure.
Returns
ret - Result of the remove procedure.