precision-converters-firmware
Macros
app_config.h File Reference

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

#include <stdint.h>
#include <PinNames.h>
#include "ad5933.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 I2C_SCL   SDP_I2C_SCL
 
#define I2C_SDA   SDP_I2C_SDA
 
#define SPI_CS   SDP_SPI_CS_A
 
#define SPI_MISO   SDP_SPI_MISO
 
#define SPI_MOSI   SDP_SPI_MOSI
 
#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 ADDR0_PIN   SDP_GPIO_4
 

Detailed Description

Configuration file of AD5933 firmware example program.

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

◆ ADDR0_PIN

#define ADDR0_PIN   SDP_GPIO_4

◆ GAIN_PIN

#define GAIN_PIN   SDP_GPIO_0

◆ I2C_SCL

#define I2C_SCL   SDP_I2C_SCL

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 Arduino connector

Uncomment the ARDUINO #define below to enable the ARDUINO connector

◆ I2C_SDA

#define I2C_SDA   SDP_I2C_SDA

◆ LDAC_PIN

#define LDAC_PIN   SDP_GPIO_3

◆ RESET_PIN

#define RESET_PIN   SDP_GPIO_2

◆ SPI_CS

#define SPI_CS   SDP_SPI_CS_A

◆ SPI_MISO

#define SPI_MISO   SDP_SPI_MISO

◆ SPI_MOSI

#define SPI_MOSI   SDP_SPI_MOSI

◆ SPI_SCK

#define SPI_SCK   SDP_SPI_SCK