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

Header file of IIO ADXL355 Driver. More...

#include "iio.h"
#include "no_os_irq.h"
Include dependency graph for iio_adxl355.h:

Classes

struct  adxl355_iio_dev
 
struct  adxl355_iio_dev_init_param
 

Functions

int adxl355_iio_init (struct adxl355_iio_dev **iio_dev, struct adxl355_iio_dev_init_param *init_param)
 Initializes the ADXL355 IIO driver.
 
int adxl355_iio_remove (struct adxl355_iio_dev *desc)
 Free the resources allocated by adxl355_iio_init().
 

Variables

struct iio_trigger adxl355_iio_trig_desc
 

Detailed Description

Header file of IIO ADXL355 Driver.

Author
RBolboac (ramon.nosp@m.a.bo.nosp@m.lboac.nosp@m.a@an.nosp@m.alog..nosp@m.com)

Copyright 2022(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ adxl355_iio_init()

int adxl355_iio_init ( struct adxl355_iio_dev ** iio_dev,
struct adxl355_iio_dev_init_param * init_param )

Initializes the ADXL355 IIO driver.

Parameters
iio_dev- The iio device structure.
init_param- The structure that contains the device initial parameters.
Returns
ret - Result of the initialization procedure.

◆ adxl355_iio_remove()

int adxl355_iio_remove ( struct adxl355_iio_dev * desc)

Free the resources allocated by adxl355_iio_init().

Parameters
desc- The IIO device structure.
Returns
ret - Result of the remove procedure.

Variable Documentation

◆ adxl355_iio_trig_desc

struct iio_trigger adxl355_iio_trig_desc
extern