precision-converters-firmware
|
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"
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 |
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.
#define ADDR0_PIN SDP_GPIO_4 |
#define GAIN_PIN SDP_GPIO_0 |
#define I2C_DEVICE_ID 0 |
#define i2c_ops mbed_i2c_ops |
#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
#define I2C_SDA SDP_I2C_SDA |
#define LDAC_PIN SDP_GPIO_3 |
#define RESET_PIN SDP_GPIO_2 |
#define SPI_CS SDP_SPI_CS_A |
#define SPI_DEVICE_ID 0 |
#define SPI_MISO SDP_SPI_MISO |
#define SPI_MOSI SDP_SPI_MOSI |
#define spi_ops mbed_spi_ops |
#define SPI_SCK SDP_SPI_SCK |
#define UART_IRQ_ID 0 |
|
extern |
|
extern |