precision-converters-firmware
|
Header file for Mbed platform configurations. More...
#include <stdint.h>
#include <PinNames.h>
#include "mbed_uart.h"
#include "mbed_irq.h"
#include "mbed_gpio_irq.h"
#include "mbed_spi.h"
#include "mbed_i2c.h"
#include "mbed_pwm.h"
#include "mbed_gpio.h"
Go to the source code of this file.
Macros | |
#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 | LED_GPO LED3 |
#define | OSR0_PIN ARDUINO_UNO_D1 |
#define | OSR1_PIN ARDUINO_UNO_D2 |
#define | OSR2_PIN ARDUINO_UNO_D4 |
#define | RESET_PIN ARDUINO_UNO_D5 |
#define | CONVST_PIN ARDUINO_UNO_D6 |
#define | BUSY_PIN ARDUINO_UNO_D7 |
#define | RANGE_PIN ARDUINO_UNO_D8 |
#define | STDBY_PIN ARDUINO_UNO_D9 |
#define | PWM_TRIGGER ARDUINO_UNO_D3 |
#define | INT_EVENT ARDUINO_UNO_D3 |
#define | SAMPLING_RATE (16000) |
#define | CONV_TRIGGER_PERIOD_NSEC (((float)(1.0 / SAMPLING_RATE) * 1000000) * 1000) |
#define | CONV_TRIGGER_DUTY_CYCLE_NSEC (CONV_TRIGGER_PERIOD_NSEC / 2) |
Variables | |
struct mbed_gpio_irq_init_param | mbed_trigger_gpio_irq_init_params |
struct mbed_gpio_init_param | mbed_trigger_gpio_extra_init_params |
struct mbed_gpio_init_param | mbed_reset_gpio_extra_init_params |
struct mbed_gpio_init_param | mbed_convst_gpio_extra_init_params |
struct mbed_gpio_init_param | mbed_busy_gpio_extra_init_params |
struct mbed_gpio_init_param | mbed_osr0_gpio_extra_init_params |
struct mbed_gpio_init_param | mbed_osr1_gpio_extra_init_params |
struct mbed_gpio_init_param | mbed_osr2_gpio_extra_init_params |
struct mbed_gpio_init_param | mbed_range_gpio_extra_init_params |
struct mbed_gpio_init_param | mbed_stdby_gpio_extra_init_params |
struct mbed_pwm_init_param | mbed_pwm_extra_init_params |
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 |
Header file for Mbed platform configurations.
Copyright (c) 2021-23 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 BUSY_PIN ARDUINO_UNO_D7 |
#define CONV_TRIGGER_DUTY_CYCLE_NSEC (CONV_TRIGGER_PERIOD_NSEC / 2) |
#define CONV_TRIGGER_PERIOD_NSEC (((float)(1.0 / SAMPLING_RATE) * 1000000) * 1000) |
#define CONVST_PIN ARDUINO_UNO_D6 |
#define I2C_SCL ARDUINO_UNO_D15 |
#define I2C_SDA ARDUINO_UNO_D14 |
#define INT_EVENT ARDUINO_UNO_D3 |
#define LED_GPO LED3 |
#define OSR0_PIN ARDUINO_UNO_D1 |
#define OSR1_PIN ARDUINO_UNO_D2 |
#define OSR2_PIN ARDUINO_UNO_D4 |
#define PWM_TRIGGER ARDUINO_UNO_D3 |
#define RANGE_PIN ARDUINO_UNO_D8 |
#define RESET_PIN ARDUINO_UNO_D5 |
#define SAMPLING_RATE (16000) |
#define SPI_CSB ARDUINO_UNO_D10 |
#define SPI_HOST_SDI ARDUINO_UNO_D12 |
#define SPI_HOST_SDO ARDUINO_UNO_D11 |
#define SPI_SCK ARDUINO_UNO_D13 |
#define STDBY_PIN ARDUINO_UNO_D9 |
#define UART_RX CONSOLE_RX |
#define UART_TX CONSOLE_TX |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |