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_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 SPI_SS   ARDUINO_UNO_D10
 
#define SPI_MOSI   ARDUINO_UNO_D11
 
#define SPI_MISO   ARDUINO_UNO_D12
 
#define SPI_SCK   ARDUINO_UNO_D13
 
#define MAX_SPI_CLK   2000000
 
#define SPI_DEVICE_ID   0
 
#define UART_IRQ_ID   0
 
#define spi_ops   mbed_spi_ops
 

Variables

struct mbed_spi_init_param mbed_spi_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

◆ MAX_SPI_CLK

#define MAX_SPI_CLK   2000000

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   0

◆ SPI_MISO

#define SPI_MISO   ARDUINO_UNO_D12

◆ SPI_MOSI

#define SPI_MOSI   ARDUINO_UNO_D11

◆ spi_ops

#define spi_ops   mbed_spi_ops

◆ SPI_SCK

#define SPI_SCK   ARDUINO_UNO_D13

◆ SPI_SS

#define SPI_SS   ARDUINO_UNO_D10

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

Comment the SDP_120 #define below to enable the Arduino connector

◆ UART_IRQ_ID

#define UART_IRQ_ID   0

Variable Documentation

◆ mbed_spi_extra_init_params

struct mbed_spi_init_param mbed_spi_extra_init_params
extern