precision-converters-firmware
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 = {
.max_speed_hz = 22500000,
.chip_select = SPI_CSB,
.mode = NO_OS_SPI_MODE_3,
.platform_ops = &spi_ops,
},
.act_device = ACTIVE_DEVICE,
.gpio_clr = {
.number = CLR_PIN,
.platform_ops = &gpio_ops,
.extra = NULL
},
.gpio_ldac = {
.number = LDAC_PIN,
.platform_ops = &gpio_ops,
.extra = NULL
},
.gpio_reset = {
.number = RESET_PIN,
.platform_ops = &gpio_ops,
.extra = NULL
}
}
#define ACTIVE_DEVICE
Definition: app_config.h:49
#define gpio_ops
Definition: app_config.h:85
#define spi_ops
Definition: app_config.h:86
struct mbed_spi_init_param mbed_spi_extra_init_params
Definition: app_config_mbed.c:54
#define SPI_CSB
Definition: app_config_mbed.h:33
#define RESET_PIN
Definition: app_config_mbed.h:41
#define LDAC_PIN
Definition: app_config_mbed.h:40
#define CLR_PIN
Definition: app_config_mbed.h:46