precision-converters-firmware
Loading...
Searching...
No Matches
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_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 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 HW_LDACB   SDP_GPIO_0
 
#define MAX_SPI_CLK   2500000
 
#define SPI_DEVICE_ID   0
 
#define HW_LDACB_PORT   0
 
#define UART_IRQ_ID   0
 
#define spi_ops   mbed_spi_ops
 
#define gpio_ops   mbed_gpio_ops
 

Variables

struct mbed_spi_init_param mbed_spi_extra_init_params
 
struct mbed_gpio_init_param mbed_gpio_ldac_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

◆ gpio_ops

#define gpio_ops   mbed_gpio_ops

◆ HW_LDACB

#define HW_LDACB   SDP_GPIO_0

◆ HW_LDACB_PORT

#define HW_LDACB_PORT   0

◆ MAX_SPI_CLK

#define MAX_SPI_CLK   2500000

◆ SPI_CSB

#define SPI_CSB   SDP_SPI_CS_A

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

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   0

◆ SPI_HOST_SDI

#define SPI_HOST_SDI   SDP_SPI_MISO

◆ SPI_HOST_SDO

#define SPI_HOST_SDO   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_gpio_ldac_init_params

struct mbed_gpio_init_param mbed_gpio_ldac_init_params
extern

◆ mbed_spi_extra_init_params

struct mbed_spi_init_param mbed_spi_extra_init_params
extern