precision-converters-firmware
Loading...
Searching...
No Matches
Variables
ad717x_user_config.c File Reference

User Configuration source for AD717x-AD411x IIO Application. More...

#include <stdio.h>
#include "ad717x_user_config.h"
#include "ad717x.h"
#include "ad717x_iio.h"
#include "no_os_util.h"
#include "ad411x_regs.h"
#include "ad4113_regs.h"
#include "ad7172_2_regs.h"
#include "ad7172_4_regs.h"
#include "ad7173_8_regs.h"
#include "ad7175_2_regs.h"
#include "ad7175_8_regs.h"
#include "ad7176_2_regs.h"
#include "ad7177_2_regs.h"
Include dependency graph for ad717x_user_config.c:

Variables

struct ad717x_device_map_info device_map_table []
 
struct ad717x_channel_setup default_setups [AD717x_MAX_SETUPS]
 
struct ad717x_filtcon default_ad717x_filtcons [AD717x_MAX_SETUPS]
 
struct ad717x_channel_map default_ad411x_chan_maps [AD717x_MAX_CHANNELS]
 
struct ad717x_channel_map default_ad717x_chan_maps [AD717x_MAX_CHANNELS]
 
ad717x_init_param ad717x_init_params
 

Detailed Description

User Configuration source for AD717x-AD411x IIO Application.

Copyright (c) 2021-22,2025-26 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.

Variable Documentation

◆ ad717x_init_params

ad717x_init_param ad717x_init_params
Initial value:
= {
.spi_init = {
.device_id = SPI_DEVICE_ID,
.max_speed_hz = MAX_SPI_SCLK,
.chip_select = SPI_CSB,
.mode = NO_OS_SPI_MODE_3,
.platform_ops = &spi_platform_ops,
},
.ref_en = true,
.mode = CONTINUOUS,
}
#define spi_extra_init_params
Definition app_config.h:80
#define SPI_CSB
Definition app_config_mbed.h:33
#define SPI_DEVICE_ID
Definition app_config_stm32.h:54
#define MAX_SPI_SCLK
Definition app_config_stm32.h:116
@ CONTINUOUS
Definition ad4692_iio.h:41
#define spi_platform_ops
Definition app_config.h:121

◆ default_ad411x_chan_maps

struct ad717x_channel_map default_ad411x_chan_maps[AD717x_MAX_CHANNELS]
Initial value:
= {
[0 ... AD717x_MAX_CHANNELS - 1] = {
.channel_enable = false,
.setup_sel = 0,
.analog_inputs.analog_input_pairs = VIN0_VIN1,
}
}

◆ default_ad717x_chan_maps

struct ad717x_channel_map default_ad717x_chan_maps[AD717x_MAX_CHANNELS]
Initial value:
= {
[0 ... AD717x_MAX_CHANNELS - 1] = {
.channel_enable = false,
.setup_sel = 0,
.analog_inputs.ainp.pos_analog_input = AIN0,
.analog_inputs.ainp.neg_analog_input = AIN1,
}
}

◆ default_ad717x_filtcons

struct ad717x_filtcon default_ad717x_filtcons[AD717x_MAX_SETUPS]
Initial value:
= {
[0 ... AD717x_MAX_SETUPS - 1] = {
.sinc3_map = false,
.enhfilten = false,
.enhfilt = sps27_db47_ms36p7,
.oder = sinc5_sinc1,
.odr = sps_31250_a
}
}

◆ default_setups

struct ad717x_channel_setup default_setups[AD717x_MAX_SETUPS]
Initial value:
= {
[0 ... AD717x_MAX_SETUPS - 1] = {
.bi_unipolar = true,
.ref_buff = false,
.input_buff = true,
.ref_source = INTERNAL_REF,
}
}

◆ device_map_table

struct ad717x_device_map_info device_map_table[]