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

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

#include <stdbool.h>
#include "iio.h"
#include "adp5055.h"
Include dependency graph for iio_adp5055.h:

Classes

struct  adp5055_iio_desc
 Structure holding the ADP5055 IIO device descriptor. More...
 
struct  adp5055_iio_desc_init_param
 Structure holding the ADP5055 IIO initalization parameter. More...
 

Functions

int adp5055_iio_init (struct adp5055_iio_desc **, struct adp5055_iio_desc_init_param *)
 Initializes the ADP5055 IIO descriptor.
 
int adp5055_iio_remove (struct adp5055_iio_desc *)
 Free resources allocated by the init function.
 

Detailed Description

Header file for the ADP5055 IIO Driver.

Author
Angelo Catapang (angel.nosp@m.o.ca.nosp@m.tapan.nosp@m.g@an.nosp@m.alog..nosp@m.com)

Copyright 2025(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ adp5055_iio_init()

int adp5055_iio_init ( struct adp5055_iio_desc ** iio_desc,
struct adp5055_iio_desc_init_param * init_param )

Initializes the ADP5055 IIO descriptor.

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

◆ adp5055_iio_remove()

int adp5055_iio_remove ( struct adp5055_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.