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

Implementation of IIO LTC4162L Driver. More...

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

Classes

struct  ltc4162l_iio_device
 Structure holding the LTC4162L IIO device descriptor. More...
 
struct  ltc4162l_iio_init_param
 Structure holding the LTC4162L IIO initialization parameter. More...
 

Functions

int ltc4162l_iio_init (struct ltc4162l_iio_device **iio_device, struct ltc4162l_iio_init_param *iio_init_param)
 
int ltc4162l_iio_remove (struct ltc4162l_iio_device *iio_device)
 Free resources allocated by the init function.
 

Detailed Description

Implementation of IIO LTC4162L Driver.

Author
Marc Paolo Sosa (marcp.nosp@m.aolo.nosp@m..sosa.nosp@m.@ana.nosp@m.log.c.nosp@m.om)

Copyright 2024(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ ltc4162l_iio_init()

int ltc4162l_iio_init ( struct ltc4162l_iio_device ** iio_device,
struct ltc4162l_iio_init_param * iio_init_param )

Initializes the LTC4162L IIO descriptor.

◆ ltc4162l_iio_remove()

int ltc4162l_iio_remove ( struct ltc4162l_iio_device * iio_device)

Free resources allocated by the init function.

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