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

Header file of the LTC2378 IIO Driver. More...

#include "iio.h"
#include "ltc2378.h"
Include dependency graph for iio_ltc2378.h:

Classes

struct  ltc2378_iio_desc
 
struct  ltc2378_iio_desc_init_param
 

Functions

int ltc2378_iio_init (struct ltc2378_iio_desc **, struct ltc2378_iio_desc_init_param *)
 Initialize the IIO LTC2378 driver.
 
int ltc2378_iio_remove (struct ltc2378_iio_desc *)
 Free the resources allocated by ltc2378_iio_init()
 

Detailed Description

Header file of the LTC2378 IIO Driver.

Author
Cherrence Sarip (cherr.nosp@m.ence.nosp@m..sari.nosp@m.p@an.nosp@m.alog..nosp@m.com)

Copyright 2025(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ ltc2378_iio_init()

int ltc2378_iio_init ( struct ltc2378_iio_desc ** iio_desc,
struct ltc2378_iio_desc_init_param * init_param )

Initialize the IIO LTC2378 driver.

Parameters
iio_desc- IIO device descriptor.
init_param- Init parameter structure.
Returns
0 in case of success, negative error code otherwise.

◆ ltc2378_iio_remove()

int ltc2378_iio_remove ( struct ltc2378_iio_desc * iio_desc)

Free the resources allocated by ltc2378_iio_init()

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