precision-converters-firmware
|
AD355XR IIO application interface module. More...
#include "app_config.h"
#include "ad355xr_iio.h"
#include "ad355xr_regs.h"
#include "ad355xr_user_config.h"
#include "ad355xr_support.h"
#include "no_os_error.h"
#include "no_os_util.h"
#include "no_os_gpio.h"
#include "iio_trigger.h"
Macros | |
#define | AD355XR_CHN_ATTR(_name, _priv) |
#define | AD355XR_CHN_AVAIL_ATTR(_name, _priv) |
#define | AD355XR_CH(_name, _idx, _type) |
#define | NUM_OF_IIO_DEVICES 1 |
#define | AD355XR_IIO_TRIGGER_NAME "ad355xr_iio_trigger" |
#define | BYTES_PER_SAMPLE sizeof(uint16_t) |
#define | CHN_STORAGE_BITS (BYTES_PER_SAMPLE * 8) |
#define | DATA_BUFFER_SIZE (32768) |
Enumerations | |
enum | ad355xr_attribute_id { DAC_RAW , DAC_SCALE , DAC_OFFSET , DAC_CH_ENABLE , DAC_CH_OUTPUT_RANGE , DAC_CH_MODE , DAC_VREF_VOLTAGE , DAC_SIMULTANEOUS_UPDATE , DAC_SAMPLING_FREQUENCY } |
Functions | |
int32_t | ad355xr_iio_initialize (void) |
Initialize the IIO interface for AD355XR IIO device. More... | |
void | ad355xr_iio_event_handler (void) |
Run the AD355XR IIO event handler. More... | |
Variables | |
struct ad3552r_desc * | ad355xr_dev_inst = NULL |
AD355XR IIO application interface module.
Copyright (c) 2023-2024 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.
#define AD355XR_CH | ( | _name, | |
_idx, | |||
_type | |||
) |
#define AD355XR_CHN_ATTR | ( | _name, | |
_priv | |||
) |
#define AD355XR_CHN_AVAIL_ATTR | ( | _name, | |
_priv | |||
) |
#define AD355XR_IIO_TRIGGER_NAME "ad355xr_iio_trigger" |
#define BYTES_PER_SAMPLE sizeof(uint16_t) |
#define CHN_STORAGE_BITS (BYTES_PER_SAMPLE * 8) |
#define DATA_BUFFER_SIZE (32768) |
#define NUM_OF_IIO_DEVICES 1 |
enum ad355xr_attribute_id |
void ad355xr_iio_event_handler | ( | void | ) |
Run the AD355XR IIO event handler.
This function monitors the new IIO client event
int32_t ad355xr_iio_initialize | ( | void | ) |
Initialize the IIO interface for AD355XR IIO device.
struct ad3552r_desc* ad355xr_dev_inst = NULL |