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"
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.
All rights reserved.
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 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
#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 | ) |