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

Header file for the LTM4686 IIO Driver. More...

#include <stdbool.h>
#include "iio.h"
#include "ltm4686.h"
Include dependency graph for iio_ltm4686.h:

Classes

struct  ltm4686_iio_desc
 Structure holding the LTM4686 IIO device descriptor. More...
 
struct  ltm4686_iio_desc_init_param
 Structure holding the LTM4686 IIO initialization parameter. More...
 

Functions

int ltm4686_iio_init (struct ltm4686_iio_desc **, struct ltm4686_iio_desc_init_param *)
 Initializes the LTM4686 IIO descriptor.
 
int ltm4686_iio_remove (struct ltm4686_iio_desc *)
 Free resources allocated by the init function.
 

Detailed Description

Header file for the LTM4686 IIO Driver.

Author
Cedric Justine Encarnacion (cedri.nosp@m.cjus.nosp@m.tine..nosp@m.enca.nosp@m.rnaci.nosp@m.on@a.nosp@m.nalog.nosp@m..com)

Copyright 2024(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ ltm4686_iio_init()

int ltm4686_iio_init ( struct ltm4686_iio_desc ** iio_desc,
struct ltm4686_iio_desc_init_param * init_param )

Initializes the LTM4686 IIO descriptor.

Initializes the LTM4686 IIO descriptor.

Parameters
iio_desc- The iio device descriptor.
init_param- The structure that contains the device initial parameters.
Returns
0 in case of success, an error code otherwise.

◆ ltm4686_iio_remove()

int ltm4686_iio_remove ( struct ltm4686_iio_desc * iio_desc)

Free resources allocated by the init function.

Free resources allocated by the initialization function.

Parameters
iio_desc- The iio device descriptor.
Returns
0 in case of success, an error code otherwise.