precision-converters-firmware
Macros
app_config.h File Reference

Configuration file of nanodac firmware example program. More...

#include <stdint.h>
#include <PinNames.h>
Include dependency graph for app_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEV_AD5686R
 
#define ACTIVE_DEVICE   ID_AD5686R
 
#define ACTIVE_DEVICE_NAME   "AD5686R"
 
#define I2C_SCL   SDP_I2C_SCL
 
#define I2C_SDA   SDP_I2C_SDA
 
#define SPI_CSB   SDP_SPI_CS_A
 
#define SPI_HOST_SDO   SDP_SPI_MOSI
 
#define SPI_HOST_SDI   SDP_SPI_MISO
 
#define SPI_SCK   SDP_SPI_SCK
 
#define GAIN_PIN   SDP_GPIO_0
 
#define RESET_PIN   SDP_GPIO_2
 
#define LDAC_PIN   SDP_GPIO_3
 
#define LED_GREEN   LED3
 

Detailed Description

Configuration file of nanodac firmware example program.

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

Macro Definition Documentation

◆ ACTIVE_DEVICE

#define ACTIVE_DEVICE   ID_AD5686R

◆ ACTIVE_DEVICE_NAME

#define ACTIVE_DEVICE_NAME   "AD5686R"

◆ DEV_AD5686R

#define DEV_AD5686R

The ADI SDP_K1 can be used with both arduino headers or the 120-pin SDP connector found on ADI evaluation boards. The default is the SDP connector. Uncomment the ARDUINO #define below to enable the ARDUINO connector

◆ GAIN_PIN

#define GAIN_PIN   SDP_GPIO_0

◆ I2C_SCL

#define I2C_SCL   SDP_I2C_SCL

◆ I2C_SDA

#define I2C_SDA   SDP_I2C_SDA

◆ LDAC_PIN

#define LDAC_PIN   SDP_GPIO_3

◆ LED_GREEN

#define LED_GREEN   LED3

◆ RESET_PIN

#define RESET_PIN   SDP_GPIO_2

◆ SPI_CSB

#define SPI_CSB   SDP_SPI_CS_A

◆ SPI_HOST_SDI

#define SPI_HOST_SDI   SDP_SPI_MISO

◆ SPI_HOST_SDO

#define SPI_HOST_SDO   SDP_SPI_MOSI

◆ SPI_SCK

#define SPI_SCK   SDP_SPI_SCK