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

Header file of LTC4284 IIO Driver. More...

#include "iio.h"
#include "ltc4284.h"
Include dependency graph for iio_ltc4284.h:

Classes

struct  ltc4284_iio_desc
 LTC4284 IIO descriptor. More...
 
struct  ltc4284_iio_init_param
 LTC4284 IIO initialization parameters. More...
 

Enumerations

enum  ltc4284_iio_channels {
  LTC4284_IIO_VIN_CHAN ,
  LTC4284_IIO_IIN_CHAN ,
  LTC4284_IIO_VOUT_CHAN ,
  LTC4284_IIO_POWER_CHAN ,
  LTC4284_IIO_ENERGY_CHAN ,
  LTC4284_IIO_NUM_CHANNELS
}
 LTC4284 IIO channel enumeration. More...
 

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

Header file 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

Enumeration Type Documentation

◆ ltc4284_iio_channels

LTC4284 IIO channel enumeration.

Enumerator
LTC4284_IIO_VIN_CHAN 
LTC4284_IIO_IIN_CHAN 
LTC4284_IIO_VOUT_CHAN 
LTC4284_IIO_POWER_CHAN 
LTC4284_IIO_ENERGY_CHAN 
LTC4284_IIO_NUM_CHANNELS 

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