no-OS
|
IIO implementation for ad3552r Driver. More...
#include <stdio.h>
#include "iio_types.h"
#include "iio.h"
#include "ad3552r.h"
#include "no_os_error.h"
#include "no_os_util.h"
#include "no_os_alloc.h"
Classes | |
struct | iio_ad3552r_desc |
Macros | |
#define | AD3552R_ATTR(_name, _priv) |
#define | AD3552R_DAC_CH(_idx) |
Enumerations | |
enum | ad3552r_iio_attrs { AD3552R_IIO_ATTR_EN, AD3552R_IIO_ATTR_OFFSET, AD3552R_IIO_ATTR_RAW, AD3552R_IIO_ATTR_SCALE } |
Functions | |
int32_t | iio_ad3552r_init (struct iio_ad3552r_desc **iio_dac, struct ad3552r_init_param *param) |
int32_t | iio_ad3552r_remove (struct iio_ad3552r_desc *iio_dac) |
void | iio_ad3552r_get_descriptor (struct iio_ad3552r_desc *iio_dac, struct iio_device **desc) |
IIO implementation for ad3552r Driver.
Copyright 2021(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define AD3552R_ATTR | ( | _name, | |
_priv | |||
) |
#define AD3552R_DAC_CH | ( | _idx | ) |
enum ad3552r_iio_attrs |
void iio_ad3552r_get_descriptor | ( | struct iio_ad3552r_desc * | iio_dac, |
struct iio_device ** | desc | ||
) |
int32_t iio_ad3552r_init | ( | struct iio_ad3552r_desc ** | iio_dac, |
struct ad3552r_init_param * | param | ||
) |
int32_t iio_ad3552r_remove | ( | struct iio_ad3552r_desc * | iio_dac | ) |