precision-converters-firmware
|
Header file for Mbed platform configurations. More...
#include <stdint.h>
#include <PinNames.h>
#include "mbed_uart.h"
#include "mbed_gpio_irq.h"
#include "mbed_spi.h"
#include "mbed_i2c.h"
#include "mbed_gpio.h"
#include "mbed_pwm.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 | DCLK_PIN ARDUINO_UNO_D2 |
#define | ODR_PIN ARDUINO_UNO_D3 |
#define | DOUT0_PIN ARDUINO_UNO_D4 |
#define | DOUT1_PIN ARDUINO_UNO_D5 |
#define | PDN_PIN ARDUINO_UNO_D1 |
#define | PDN_PORT 0 |
#define | DOUT1_IDR (*((volatile uint32_t *)0x40020010)) |
#define | ODR_IDR (*((volatile uint32_t *)0x40020C10)) |
#define | DCLK_IDR (*((volatile uint32_t *)0x40021810)) |
#define | DOUT0_IDR (*((volatile uint32_t *)0x40021810)) |
#define | DCLK_ODR (*((volatile uint32_t *)0x40021814)) |
#define | DCLK_PIN_NUM 7 |
#define | ODR_PIN_NUM 12 |
#define | DOUT0_PIN_NUM 9 |
#define | DOUT1_PIN_NUM 11 |
#define | DCLK_PIN_MASK (uint32_t)(1 << DCLK_PIN_NUM) |
#define | ODR_PIN_MASK (uint32_t)(1 << ODR_PIN_NUM) |
#define | DOUT0_PIN_MASK (uint32_t)(1 << DOUT0_PIN_NUM) |
#define | DOUT1_PIN_MASK (uint32_t)(1 << DOUT1_PIN_NUM) |
#define | UART_IRQ_ID 0 |
#define | IRQ_INT_ID GPIO_IRQ_ID1 |
#define | UART_DEVICE_ID 0 |
#define | SPI_DEVICE_ID 0 |
#define | I2C_DEVICE_ID 0 |
#define | SAMPLING_RATE (12000) |
#define | CONV_TRIGGER_PERIOD_NSEC (((float)(1.0 / SAMPLING_RATE) * 1000000) * 1000) |
#define | CONV_TRIGGER_DUTY_CYCLE_NSEC (CONV_TRIGGER_PERIOD_NSEC / 40) |
Functions | |
void | ad7134_configure_intr_priority (void) |
Configure the interrupt priorities. More... | |
Variables | |
struct mbed_gpio_irq_init_param | mbed_ext_int_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 |
struct mbed_pwm_init_param | mbed_pwm_extra_init_params |
struct mbed_gpio_init_param | mbed_pdn_extra_init_params |
Header file for Mbed platform configurations.
Copyright (c) 2021, 2023 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 CONV_TRIGGER_DUTY_CYCLE_NSEC (CONV_TRIGGER_PERIOD_NSEC / 40) |
#define CONV_TRIGGER_PERIOD_NSEC (((float)(1.0 / SAMPLING_RATE) * 1000000) * 1000) |
#define DCLK_IDR (*((volatile uint32_t *)0x40021810)) |
#define DCLK_ODR (*((volatile uint32_t *)0x40021814)) |
#define DCLK_PIN ARDUINO_UNO_D2 |
#define DCLK_PIN_MASK (uint32_t)(1 << DCLK_PIN_NUM) |
#define DCLK_PIN_NUM 7 |
#define DOUT0_IDR (*((volatile uint32_t *)0x40021810)) |
#define DOUT0_PIN ARDUINO_UNO_D4 |
#define DOUT0_PIN_MASK (uint32_t)(1 << DOUT0_PIN_NUM) |
#define DOUT0_PIN_NUM 9 |
#define DOUT1_IDR (*((volatile uint32_t *)0x40020010)) |
#define DOUT1_PIN ARDUINO_UNO_D5 |
#define DOUT1_PIN_MASK (uint32_t)(1 << DOUT1_PIN_NUM) |
#define DOUT1_PIN_NUM 11 |
#define I2C_DEVICE_ID 0 |
#define I2C_SCL ARDUINO_UNO_D15 |
#define I2C_SDA ARDUINO_UNO_D14 |
#define IRQ_INT_ID GPIO_IRQ_ID1 |
#define ODR_IDR (*((volatile uint32_t *)0x40020C10)) |
#define ODR_PIN ARDUINO_UNO_D3 |
#define ODR_PIN_MASK (uint32_t)(1 << ODR_PIN_NUM) |
#define ODR_PIN_NUM 12 |
#define PDN_PIN ARDUINO_UNO_D1 |
#define PDN_PORT 0 |
#define SAMPLING_RATE (12000) |
#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 UART_DEVICE_ID 0 |
#define UART_IRQ_ID 0 |
#define UART_RX CONSOLE_RX |
#define UART_TX CONSOLE_TX |
void ad7134_configure_intr_priority | ( | void | ) |
Configure the interrupt priorities.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |