precision-converters-firmware
Variables
app_config_mbed.c File Reference

Application configurations module for Mbed platform. More...

#include <stdbool.h>
#include "app_config.h"
#include "app_config_mbed.h"
Include dependency graph for app_config_mbed.c:

Variables

struct mbed_uart_init_param mbed_uart_extra_init_params
 
struct mbed_uart_init_param mbed_vcom_extra_init_params
 
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_dig_aux1_gpio_extra_init_params
 
struct mbed_gpio_init_param mbed_dig_aux2_gpio_extra_init_params
 
struct mbed_gpio_init_param mbed_sync_inb_gpio_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_irq_init_param mbed_ticker_int_extra_init_params
 

Detailed Description

Application configurations module for Mbed platform.

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.

Variable Documentation

◆ mbed_dig_aux1_gpio_extra_init_params

struct mbed_gpio_init_param mbed_dig_aux1_gpio_extra_init_params
Initial value:
= {
.pin_mode = 0
}

◆ mbed_dig_aux2_gpio_extra_init_params

struct mbed_gpio_init_param mbed_dig_aux2_gpio_extra_init_params
Initial value:
= {
.pin_mode = 0
}

◆ mbed_i2c_extra_init_params

struct mbed_i2c_init_param mbed_i2c_extra_init_params
Initial value:
= {
.i2c_sda_pin = I2C_SDA,
.i2c_scl_pin = I2C_SCL
}
#define I2C_SDA
Definition: app_config_mbed.h:69
#define I2C_SCL
Definition: app_config_mbed.h:68

◆ mbed_spi_extra_init_params

struct mbed_spi_init_param mbed_spi_extra_init_params
Initial value:
= {
.spi_clk_pin = SPI_SCK,
.spi_miso_pin = SPI_HOST_SDI,
.spi_mosi_pin = SPI_HOST_SDO,
.use_sw_csb = false
}
#define SPI_HOST_SDO
Definition: app_config_mbed.h:34
#define SPI_SCK
Definition: app_config_mbed.h:36
#define SPI_HOST_SDI
Definition: app_config_mbed.h:35

◆ mbed_sync_inb_gpio_extra_init_params

struct mbed_gpio_init_param mbed_sync_inb_gpio_extra_init_params
Initial value:
= {
.pin_mode = 0
}

◆ mbed_ticker_int_extra_init_params

struct mbed_irq_init_param mbed_ticker_int_extra_init_params
Initial value:
= {
.int_obj_type = NULL,
.ticker_period_usec = TICKER_INTERRUPT_PERIOD_uSEC,
}
#define TICKER_INTERRUPT_PERIOD_uSEC
Definition: app_config_mbed.h:78

◆ mbed_trigger_gpio_extra_init_params

struct mbed_gpio_init_param mbed_trigger_gpio_extra_init_params
Initial value:
= {
.pin_mode = 0
}

◆ mbed_trigger_gpio_irq_init_params

struct mbed_gpio_irq_init_param mbed_trigger_gpio_irq_init_params
Initial value:
= {
.gpio_irq_pin = DIG_AUX_1,
}
#define DIG_AUX_1
Definition: app_config_mbed.h:61

◆ mbed_uart_extra_init_params

struct mbed_uart_init_param mbed_uart_extra_init_params
Initial value:
= {
.uart_tx_pin = UART_TX,
.uart_rx_pin = UART_RX
}
#define UART_TX
Definition: app_config_mbed.h:46
#define UART_RX
Definition: app_config_mbed.h:47

◆ mbed_vcom_extra_init_params

struct mbed_uart_init_param mbed_vcom_extra_init_params
Initial value:
= {
.vendor_id = VIRTUAL_COM_PORT_VID,
.product_id = VIRTUAL_COM_PORT_PID,
.serial_number = VIRTUAL_COM_SERIAL_NUM
}
#define VIRTUAL_COM_PORT_PID
Definition: app_config.h:150
#define VIRTUAL_COM_PORT_VID
Definition: app_config.h:149
#define VIRTUAL_COM_SERIAL_NUM
Definition: app_config.h:151