precision-converters-firmware
Macros | Variables
app_config_mbed.h File Reference

Header file for Mbed platform configurations. More...

#include <stdint.h>
#include <PinNames.h>
#include "mbed_uart.h"
#include "mbed_irq.h"
#include "mbed_spi.h"
#include "mbed_i2c.h"
#include "mbed_pwm.h"
#include "mbed_gpio.h"
#include "mbed_gpio_irq.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   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 LDAC_PIN   ARDUINO_UNO_D3
 
#define RESET_PIN   ARDUINO_UNO_D7
 
#define CLR_PIN   ARDUINO_UNO_D2
 
#define PWM_TRIGGER   LDAC_PIN
 
#define UART_TX   CONSOLE_TX
 
#define UART_RX   CONSOLE_RX
 
#define TRIGGER_INT_ID   GPIO_IRQ_ID1
 
#define trigger_gpio_handle   0
 
#define UART_ID   0
 
#define SPI_ID   0
 
#define TRIGGER_GPIO_IRQ_CTRL_ID   0
 
#define MAX_SAMPLING_RATE   (71428)
 

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_pwm_init_param mbed_pwm_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
 

Detailed Description

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.

Macro Definition Documentation

◆ CLR_PIN

#define CLR_PIN   ARDUINO_UNO_D2

◆ I2C_SCL

#define I2C_SCL   ARDUINO_UNO_D15

◆ I2C_SDA

#define I2C_SDA   ARDUINO_UNO_D14

◆ LDAC_PIN

#define LDAC_PIN   ARDUINO_UNO_D3

◆ MAX_SAMPLING_RATE

#define MAX_SAMPLING_RATE   (71428)

◆ PWM_TRIGGER

#define PWM_TRIGGER   LDAC_PIN

◆ RESET_PIN

#define RESET_PIN   ARDUINO_UNO_D7

◆ SPI_CSB

#define SPI_CSB   ARDUINO_UNO_D10

◆ SPI_HOST_SDI

#define SPI_HOST_SDI   ARDUINO_UNO_D12

◆ SPI_HOST_SDO

#define SPI_HOST_SDO   ARDUINO_UNO_D11

◆ SPI_ID

#define SPI_ID   0

◆ SPI_SCK

#define SPI_SCK   ARDUINO_UNO_D13

◆ trigger_gpio_handle

#define trigger_gpio_handle   0

◆ TRIGGER_GPIO_IRQ_CTRL_ID

#define TRIGGER_GPIO_IRQ_CTRL_ID   0

◆ TRIGGER_INT_ID

#define TRIGGER_INT_ID   GPIO_IRQ_ID1

◆ UART_ID

#define UART_ID   0

◆ UART_RX

#define UART_RX   CONSOLE_RX

◆ UART_TX

#define UART_TX   CONSOLE_TX

Variable Documentation

◆ mbed_i2c_extra_init_params

struct mbed_i2c_init_param mbed_i2c_extra_init_params
extern

◆ mbed_pwm_extra_init_params

struct mbed_pwm_init_param mbed_pwm_extra_init_params
extern

◆ mbed_spi_extra_init_params

struct mbed_spi_init_param mbed_spi_extra_init_params
extern

◆ mbed_trigger_gpio_irq_init_params

struct mbed_gpio_irq_init_param mbed_trigger_gpio_irq_init_params
extern

◆ mbed_uart_extra_init_params

struct mbed_uart_init_param mbed_uart_extra_init_params
extern

◆ mbed_vcom_extra_init_params

struct mbed_uart_init_param mbed_vcom_extra_init_params
extern