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

Header file for Mbed platform configurations. More...

#include <stdint.h>
#include <PinNames.h>
#include "mbed_gpio.h"
#include "mbed_uart.h"
#include "mbed_irq.h"
#include "mbed_gpio_irq.h"
#include "mbed_spi.h"
#include "mbed_i2c.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 HW_CARRIER_NAME   STR(TARGET_NAME)
 
#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 SYNC_INB   ARDUINO_UNO_D4
 
#define DIG_AUX_1   ARDUINO_UNO_D2
 
#define DIG_AUX_2   ARDUINO_UNO_D7
 
#define I2C_DEVICE_ID   0
 
#define DIG_AUX_1_PORT   0
 
#define DIG_AUX_2_PORT   0
 
#define SYNC_INB_PORT   0
 
#define UART_TX   CONSOLE_TX
 
#define UART_RX   CONSOLE_RX
 
#define LED_GPO   LED3
 
#define TICKER_INTERRUPT_PERIOD_uSEC   (50000)
 
#define LVGL_TICK_TIME_US   5000
 
#define LVGL_TICK_TIME_MS   (LVGL_TICK_TIME_US / 1000)
 
#define FS_CONFIG_VALUE   16
 
#define AD4170_MAX_SPI_SPEED   22500000
 

Functions

void lvgl_tick_callback (void *ctx)
 

Variables

struct mbed_irq_init_param mbed_ticker_int_extra_init_params
 
struct mbed_gpio_irq_init_param mbed_trigger_gpio_irq_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_gpio_init_param mbed_trigger_gpio_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
 

Detailed Description

Header file for Mbed platform configurations.

Copyright (c) 2021-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

◆ AD4170_MAX_SPI_SPEED

#define AD4170_MAX_SPI_SPEED   22500000

◆ DIG_AUX_1

#define DIG_AUX_1   ARDUINO_UNO_D2

◆ DIG_AUX_1_PORT

#define DIG_AUX_1_PORT   0

◆ DIG_AUX_2

#define DIG_AUX_2   ARDUINO_UNO_D7

◆ DIG_AUX_2_PORT

#define DIG_AUX_2_PORT   0

◆ FS_CONFIG_VALUE

#define FS_CONFIG_VALUE   16

◆ HW_CARRIER_NAME

#define HW_CARRIER_NAME   STR(TARGET_NAME)

◆ I2C_DEVICE_ID

#define I2C_DEVICE_ID   0

◆ I2C_SCL

#define I2C_SCL   ARDUINO_UNO_D15

◆ I2C_SDA

#define I2C_SDA   ARDUINO_UNO_D14

◆ LED_GPO

#define LED_GPO   LED3

◆ LVGL_TICK_TIME_MS

#define LVGL_TICK_TIME_MS   (LVGL_TICK_TIME_US / 1000)

◆ LVGL_TICK_TIME_US

#define LVGL_TICK_TIME_US   5000

◆ 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_SCK

#define SPI_SCK   ARDUINO_UNO_D13

◆ SYNC_INB

#define SYNC_INB   ARDUINO_UNO_D4

◆ SYNC_INB_PORT

#define SYNC_INB_PORT   0

◆ TICKER_INTERRUPT_PERIOD_uSEC

#define TICKER_INTERRUPT_PERIOD_uSEC   (50000)

◆ UART_RX

#define UART_RX   CONSOLE_RX

◆ UART_TX

#define UART_TX   CONSOLE_TX

Function Documentation

◆ lvgl_tick_callback()

void lvgl_tick_callback ( void *  ctx)

Variable Documentation

◆ mbed_dig_aux1_gpio_extra_init_params

struct mbed_gpio_init_param mbed_dig_aux1_gpio_extra_init_params
extern

◆ mbed_dig_aux2_gpio_extra_init_params

struct mbed_gpio_init_param mbed_dig_aux2_gpio_extra_init_params
extern

◆ mbed_i2c_extra_init_params

struct mbed_i2c_init_param mbed_i2c_extra_init_params
extern

◆ mbed_spi_extra_init_params

struct mbed_spi_init_param mbed_spi_extra_init_params
extern

◆ mbed_sync_inb_gpio_extra_init_params

struct mbed_gpio_init_param mbed_sync_inb_gpio_extra_init_params
extern

◆ mbed_ticker_int_extra_init_params

struct mbed_irq_init_param mbed_ticker_int_extra_init_params
extern

◆ mbed_trigger_gpio_extra_init_params

struct mbed_gpio_init_param mbed_trigger_gpio_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