precision-converters-firmware
|
Header file for Mbed platform configurations. More...
#include <stdint.h>
#include <PinNames.h>
#include "mbed_spi.h"
#include "mbed_uart.h"
#include "mbed_i2c.h"
#include "mbed_gpio.h"
#include "mbed_gpio_irq.h"
#include "mbed_irq.h"
Go to the source code of this file.
Macros | |
#define | ARDUINO |
#define | SPI_CSB ARDUINO_UNO_D10 |
#define | SPI_HOST_SDO ARDUINO_UNO_D11 |
#define | SPI_HOST_SDI ARDUINO_UNO_D12 |
#define | SPI_SCK ARDUINO_UNO_D13 |
#define | I2C_SCL ARDUINO_UNO_D15 |
#define | I2C_SDA ARDUINO_UNO_D14 |
#define | UART_TX CONSOLE_TX |
#define | UART_RX CONSOLE_RX |
#define | RDY_PIN ARDUINO_UNO_D8 |
#define | TICKER_ID TICKER_INT_ID |
#define | ticker_ops mbed_irq_ops |
#define | RDY_PORT 0 |
#define | SPI_DEVICE_ID 0 |
#define | SPI_CS_PORT 0 |
#define | I2C_DEVICE_ID 0 |
Variables | |
struct mbed_uart_init_param | mbed_uart_extra_init_params |
struct mbed_uart_init_param | mbed_vcom_extra_init_params |
struct mbed_spi_init_param | mbed_spi_extra_init_params |
struct mbed_i2c_init_param | mbed_i2c_extra_init_params |
struct mbed_gpio_irq_init_param | mbed_trigger_gpio_irq_init_params |
struct mbed_irq_init_param | mbed_ticker_int_extra_init_params |
Header file for Mbed platform configurations.
Copyright (c) 2023-24 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 ARDUINO |
The ADI SDP_K1 can be used with either arduino headers or the 120-pin SDP header found on ADI evaluation boards. The default is the Arduino header.
Comment the define below to enable SDP-120 header
#define I2C_DEVICE_ID 0 |
#define I2C_SCL ARDUINO_UNO_D15 |
#define I2C_SDA ARDUINO_UNO_D14 |
#define RDY_PIN ARDUINO_UNO_D8 |
#define RDY_PORT 0 |
#define SPI_CS_PORT 0 |
#define SPI_CSB ARDUINO_UNO_D10 |
#define SPI_DEVICE_ID 0 |
#define SPI_HOST_SDI ARDUINO_UNO_D12 |
#define SPI_HOST_SDO ARDUINO_UNO_D11 |
#define SPI_SCK ARDUINO_UNO_D13 |
#define TICKER_ID TICKER_INT_ID |
#define ticker_ops mbed_irq_ops |
#define UART_RX CONSOLE_RX |
#define UART_TX CONSOLE_TX |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |