precision-converters-firmware
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Variables
app_config_mbed.h File Reference

Header file for Mbed platform configurations. More...

#include <stdint.h>
#include <PinNames.h>
#include "mbed_spi.h"
#include "mbed_i2c.h"
#include "mbed_gpio.h"
#include "mbed_platform_support.h"
Include dependency graph for app_config_mbed.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
 
#define SPI_DEVICE_ID   0
 
#define I2C_DEVICE_ID   0
 
#define UART_IRQ_ID   0
 
#define spi_ops   mbed_spi_ops
 
#define i2c_ops   mbed_i2c_ops
 

Variables

struct mbed_spi_init_param mbed_spi_extra_init_params
 
struct mbed_i2c_init_param mbed_i2c_extra_init_params
 

Detailed Description

Header file for Mbed platform configurations.

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

#define I2C_DEVICE_ID   0

◆ i2c_ops

#define i2c_ops   mbed_i2c_ops

◆ I2C_SCL

#define I2C_SCL   SDP_I2C_SCL

The ADI SDP_K1 can be used with either arduino headers or the 120-pin SDP connector found on ADI evaluation boards. The default is the SDP-120 connector.

Uncomment the ARDUINO #define 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_DEVICE_ID

#define SPI_DEVICE_ID   0

◆ SPI_MISO

#define SPI_MISO   SDP_SPI_MISO

◆ SPI_MOSI

#define SPI_MOSI   SDP_SPI_MOSI

◆ spi_ops

#define spi_ops   mbed_spi_ops

◆ SPI_SCK

#define SPI_SCK   SDP_SPI_SCK

◆ UART_IRQ_ID

#define UART_IRQ_ID   0

Variable Documentation

◆ mbed_i2c_extra_init_params

struct mbed_i2c_init_param mbed_i2c_extra_init_params
extern

◆ mbed_spi_extra_init_params

struct mbed_spi_init_param mbed_spi_extra_init_params
extern