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

User configuration file for ad559xr device. More...

#include "app_config.h"
#include "ad559xr_user_config.h"
Include dependency graph for ad559xr_user_config.c:

Variables

struct no_os_spi_init_param spi_init_params
 
struct no_os_i2c_init_param i2c_user_params
 
struct ad5592r_init_param ad5592r_init_params
 

Detailed Description

User configuration file for ad559xr device.

Copyright (c) 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.

Variable Documentation

◆ ad5592r_init_params

struct ad5592r_init_param ad5592r_init_params
Initial value:
= {
.spi_init = &spi_init_params,
.i2c_init = &i2c_user_params,
.int_ref = true,
.adc_range = ZERO_TO_VREF,
.dac_range = ZERO_TO_VREF,
.channel_modes = {
CH_MODE_UNUSED,
CH_MODE_UNUSED,
CH_MODE_UNUSED,
CH_MODE_UNUSED,
CH_MODE_UNUSED,
CH_MODE_UNUSED,
CH_MODE_UNUSED,
CH_MODE_UNUSED
},
.adc_buf = true,
}
struct no_os_i2c_init_param i2c_user_params
Definition ad559xr_user_config.c:34
struct no_os_spi_init_param spi_init_params
Definition ad559xr_user_config.c:24

◆ i2c_user_params

struct no_os_i2c_init_param i2c_user_params
Initial value:
= {
.max_speed_hz = I2C_BAUDRATE,
.slave_address = AD5593R_I2C(AD5593R_A0_STATE),
.platform_ops = &i2c_ops,
.device_id = I2C_DEVICE_ID
}
#define i2c_ops
Definition app_config_stm32.h:111
#define I2C_DEVICE_ID
Definition app_config_stm32.h:59
#define AD5593R_I2C
Definition app_config.h:50
#define AD5593R_A0_STATE
Definition app_config.h:37
#define I2C_BAUDRATE
Definition app_config_stm32.h:52

◆ spi_init_params

struct no_os_spi_init_param spi_init_params
Initial value:
= {
.max_speed_hz = MAX_SPI_BAUDRATE,
.chip_select = SPI_CSB,
.device_id = SPI_DEVICE_ID,
.mode = NO_OS_SPI_MODE_2,
.platform_ops = &spi_ops,
}
#define spi_ops
Definition app_config.h:86
#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_BAUDRATE
Definition app_config_stm32.h:66