no-OS
Loading...
Searching...
No Matches
iio_ltc4284.c File Reference

Implementation of LTC4284 IIO Driver. More...

#include <stdlib.h>
#include <errno.h>
#include "iio_ltc4284.h"
#include "no_os_alloc.h"
#include "no_os_units.h"
Include dependency graph for iio_ltc4284.c:

Functions

int ltc4284_iio_init (struct ltc4284_iio_desc **iio_desc, const struct ltc4284_iio_init_param *init_param)
 Initialize LTC4284 IIO interface.
 
int ltc4284_iio_remove (struct ltc4284_iio_desc *desc)
 Remove LTC4284 IIO interface.
 

Detailed Description

Implementation of LTC4284 IIO Driver.

Author
Carlos Jones Jr carlo.nosp@m.sjr..nosp@m.jones.nosp@m.@ana.nosp@m.log.c.nosp@m.om

Copyright 2026(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ ltc4284_iio_init()

int ltc4284_iio_init ( struct ltc4284_iio_desc ** iio_desc,
const struct ltc4284_iio_init_param * init_param )

Initialize LTC4284 IIO interface.

Parameters
iio_desc- Pointer to IIO descriptor pointer
init_param- Initialization parameters
Returns
0 in case of success, negative error code otherwise

◆ ltc4284_iio_remove()

int ltc4284_iio_remove ( struct ltc4284_iio_desc * desc)

Remove LTC4284 IIO interface.

Parameters
desc- IIO descriptor
Returns
0 in case of success, negative error code otherwise