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

Header file of IIO LTC2983 driver. More...

#include "iio.h"
Include dependency graph for iio_ltc2983.h:

Classes

struct  ltc2983_iio_desc
 
struct  ltc2983_iio_desc_init_param
 

Functions

int ltc2983_iio_init (struct ltc2983_iio_desc **, struct ltc2983_iio_desc_init_param *)
 Initializes the LTC2983 IIO driver.
 
int ltc2983_iio_remove (struct ltc2983_iio_desc *)
 Free resources allocated by the init function.
 

Detailed Description

Header file of IIO LTC2983 driver.

Author
John Erasmus Mari Geronimo (johne.nosp@m.rasm.nosp@m.usmar.nosp@m.i.ge.nosp@m.ronim.nosp@m.o@an.nosp@m.alog..nosp@m.com)

Copyright 2024(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ ltc2983_iio_init()

int ltc2983_iio_init ( struct ltc2983_iio_desc ** iio_dev,
struct ltc2983_iio_desc_init_param * init_param )

Initializes the LTC2983 IIO driver.

Parameters
iio_dev- The iio device structure.
init_param- Parameters for the initialization of iio_dev
Returns
0 in case of success, errno errors otherwise

◆ ltc2983_iio_remove()

int ltc2983_iio_remove ( struct ltc2983_iio_desc * desc)

Free resources allocated by the init function.

Parameters
desc- The iio device structure.
Returns
0 in case of success, errno errors otherwise