no-OS
|
Implementation of AD7606 IIO interface. More...
#include <stdio.h>
#include <math.h>
#include "ad7606.h"
#include "iio_ad7606.h"
#include "iio.h"
#include "no_os_util.h"
#include "no_os_alloc.h"
#include "no_os_error.h"
Macros | |
#define | AD7606_CH(_idx, bits) |
#define | AD7606_CHN_ATTR(_name, _priv) |
#define | MAX_CHANNELS 8 |
Enumerations | |
enum | ad7606_iio_attributes_id { OSR_ATTR_ID, OSR_AVAILABLE_ID } |
Functions | |
int | ad7606_iio_init (struct ad7606_iio_dev **dev, struct ad7606_init_param *init_param) |
Initialize AD7606 for IIO interfacing. More... | |
int | ad7606_iio_remove (struct ad7606_iio_dev *dev) |
Implementation of AD7606 IIO interface.
Copyright (c) 2024 Analog Devices, Inc. Copyright (c) 2024 BayLibre, SAS. All rights reserved.
This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.
#define AD7606_CH | ( | _idx, | |
bits | |||
) |
#define AD7606_CHN_ATTR | ( | _name, | |
_priv | |||
) |
#define MAX_CHANNELS 8 |
int ad7606_iio_init | ( | struct ad7606_iio_dev ** | dev, |
struct ad7606_init_param * | init_param | ||
) |
Initialize AD7606 for IIO interfacing.
dev | - The device structure. |
init_param | - The initialization parameters for the AD7606x device. |
int ad7606_iio_remove | ( | struct ad7606_iio_dev * | dev | ) |