|
precision-converters-firmware
|
Header file of ad4692_iio. More...
#include <stdio.h>#include <stdbool.h>#include "iio.h"#include "iio_types.h"

Go to the source code of this file.
Enumerations | |
| enum | ad4692_interface_modes { SPI_DMA , SPI_INTR } |
| enum | ad4692_data_capture_modes { CONTINUOUS , BURST } |
| enum | ad4692_attribute_ids { ADC_RAW_ATTR_ID , ADC_SCALE_ATTR_ID , ADC_OFFSET_ATTR_ID , ACC_COUNT_ATTR_ID , ADC_CHN_PRIORITY_ATTR_ID , NUM_OF_CHN_ATTR , ADC_SAMPLING_FREQUENCY_ATTR_ID , ADC_MODE_ATTR_ID , SEQUENCER_MODE_ATTR_ID , INTERFACE_MODE_ATTR_ID , DATA_CAPTURE_MODE_ATTR_ID , OSC_FREQUENCY_ATTR_ID , SEQUENCE_LENGTH_ATTR_ID , READBACK_OPTION_ATTR_ID , RESTART_IIO_ATTR_ID , NUM_OF_DEV_ATTR = RESTART_IIO_ATTR_ID - NUM_OF_CHN_ATTR } |
Functions | |
| int | ad4692_iio_attr_available_set (void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv) |
| Attribute available setter function for AD4692 attributes. | |
| int | ad4692_iio_attr_available_get (void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv) |
| Attribute available getter function for AD4692 attributes. | |
| int | ad4692_iio_attr_set (void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv) |
| Setter function for AD4692 attributes. | |
| int | ad4692_iio_attr_get (void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv) |
| Getter/Setter for the raw, offset and scale attribute value. | |
Variables | |
| struct ad4692_desc * | ad4692_dev |
| uint32_t | ad4692_sampling_frequency |
| enum ad4692_interface_modes | ad4692_interface_mode |
| enum ad4692_data_capture_modes | ad4692_data_capture_mode |
| uint8_t | buf_offset |
Header file of ad4692_iio.
Copyright (c) 2024, 2026 Analog Devices, Inc.
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.
| enum ad4692_attribute_ids |
| int ad4692_iio_attr_available_get | ( | void * | device, |
| char * | buf, | ||
| uint32_t | len, | ||
| const struct iio_ch_info * | channel, | ||
| intptr_t | priv | ||
| ) |
Attribute available getter function for AD4692 attributes.
| device[in,out]- | Pointer to IIO device instance |
| buf[in]- | IIO input data buffer |
| len[in]- | Number of input bytes |
| channel[in] | - input channel |
| priv[in] | - Attribute private ID |
| int ad4692_iio_attr_available_set | ( | void * | device, |
| char * | buf, | ||
| uint32_t | len, | ||
| const struct iio_ch_info * | channel, | ||
| intptr_t | priv | ||
| ) |
Attribute available setter function for AD4692 attributes.
| device[in,out]- | Pointer to IIO device instance |
| buf[in]- | IIO input data buffer |
| len[in]- | Number of input bytes |
| channel[in] | - input channel |
| priv[in] | - Attribute private ID |
| int ad4692_iio_attr_get | ( | void * | device, |
| char * | buf, | ||
| uint32_t | len, | ||
| const struct iio_ch_info * | channel, | ||
| intptr_t | priv | ||
| ) |
Getter/Setter for the raw, offset and scale attribute value.
| device[in,out]- | Pointer to IIO device instance |
| buf[in]- | IIO input data buffer |
| len[in]- | Number of input bytes |
| channel[in] | - input channel |
| priv[in] | - Attribute private ID |
| int ad4692_iio_attr_set | ( | void * | device, |
| char * | buf, | ||
| uint32_t | len, | ||
| const struct iio_ch_info * | channel, | ||
| intptr_t | priv | ||
| ) |
Setter function for AD4692 attributes.
| device[in,out]- | Pointer to IIO device instance |
| buf[in]- | IIO input data buffer |
| len[in]- | Number of expected bytes |
| channel[in] | - input channel |
| priv[in] | - Attribute private ID |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |