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

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

#include <stdbool.h>
#include "iio.h"
#include "lt3074.h"
Include dependency graph for iio_lt3074.h:

Classes

struct  lt3074_iio_desc
 Structure holding the LT3074 IIO device descriptor. More...
 
struct  lt3074_iio_desc_init_param
 Structure holding the LT3074 IIO initialization parameter. More...
 

Functions

int lt3074_iio_init (struct lt3074_iio_desc **, struct lt3074_iio_desc_init_param *)
 Initializes the LT3074 IIO descriptor.
 
int lt3074_iio_remove (struct lt3074_iio_desc *)
 Free resources allocated by the init function.
 

Detailed Description

Header file for the LT3074 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 2025(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ lt3074_iio_init()

int lt3074_iio_init ( struct lt3074_iio_desc ** iio_desc,
struct lt3074_iio_desc_init_param * init_param )

Initializes the LT3074 IIO descriptor.

Initializes the LT3074 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.

◆ lt3074_iio_remove()

int lt3074_iio_remove ( struct lt3074_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.