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

User configuration file for AD579x devices. More...

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

Variables

struct ad5791_init_param ad579x_init_params
 

Detailed Description

User configuration file for AD579x devices.

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

◆ ad579x_init_params

struct ad5791_init_param ad579x_init_params
Initial value:
= {
.spi_init = {
.device_id = SPI_DEVICE_ID,
.max_speed_hz = 22500000,
.chip_select = SPI_CSB,
.mode = NO_OS_SPI_MODE_3,
.platform_ops = &spi_ops,
},
.act_device = ACTIVE_DEVICE,
.gpio_clr = {
.port = CLR_PORT,
.number = CLR_PIN,
.platform_ops = &gpio_ops,
},
.gpio_ldac = {
.port = LDAC_PORT,
.number = LDAC_PIN,
.platform_ops = &gpio_ops,
},
.gpio_reset = {
.port = RESET_PORT,
.number = RESET_PIN,
.platform_ops = &gpio_ops,
}
}
#define ACTIVE_DEVICE
Definition app_config.h:49
#define gpio_ops
Definition app_config.h:85
#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
struct stm32_gpio_init_param stm32_gpio_ldac_init_params
Definition app_config_stm32.c:59
struct stm32_gpio_init_param stm32_gpio_reset_init_params
Definition app_config_stm32.c:72
#define RESET_PIN
Definition app_config_stm32.h:47
#define RESET_PORT
Definition app_config_stm32.h:48
#define SPI_DEVICE_ID
Definition app_config_stm32.h:54
#define LDAC_PIN
Definition app_config_stm32.h:49
#define LDAC_PORT
Definition app_config_stm32.h:50
struct stm32_gpio_init_param stm32_clear_gpio_init_params
Definition app_config_stm32.c:58
#define CLR_PIN
Definition app_config_mbed.h:46
#define CLR_PORT
Definition app_config_mbed.h:54