13 #ifndef APP_CONFIG_MBED_H_
14 #define APP_CONFIG_MBED_H_
23 #include "mbed_gpio.h"
24 #include "mbed_uart.h"
26 #include "mbed_gpio_irq.h"
34 #define HW_CARRIER_NAME STR(TARGET_NAME)
41 #define SPI_CSB SDP_SPI_CS_A
42 #define SPI_HOST_SDO SDP_SPI_MOSI
43 #define SPI_HOST_SDI SDP_SPI_MISO
44 #define SPI_SCK SDP_SPI_SCK
45 #define I2C_SCL SDP_I2C_SCL
46 #define I2C_SDA SDP_I2C_SDA
48 #define SYNC_INB SDP_GPIO_1
49 #define DIG_AUX_1 SDP_GPIO_0
50 #define DIG_AUX_2 SDP_GPIO_2
53 #define SPI_CSB ARDUINO_UNO_D10
54 #define SPI_HOST_SDO ARDUINO_UNO_D11
55 #define SPI_HOST_SDI ARDUINO_UNO_D12
56 #define SPI_SCK ARDUINO_UNO_D13
57 #define I2C_SCL ARDUINO_UNO_D15
58 #define I2C_SDA ARDUINO_UNO_D14
60 #define SYNC_INB ARDUINO_UNO_D4
61 #define DIG_AUX_1 ARDUINO_UNO_D2
62 #define DIG_AUX_2 ARDUINO_UNO_D7
65 #define I2C_DEVICE_ID 0
68 #define DIG_AUX_1_PORT 0
69 #define DIG_AUX_2_PORT 0
70 #define SYNC_INB_PORT 0
73 #define UART_TX CONSOLE_TX
74 #define UART_RX CONSOLE_RX
78 #define TICKER_INTERRUPT_PERIOD_uSEC (50000)
81 #define LVGL_TICK_TIME_US 5000
82 #define LVGL_TICK_TIME_MS (LVGL_TICK_TIME_US / 1000)
93 #define FS_CONFIG_VALUE 16
96 #define AD4170_MAX_SPI_SPEED 22500000
struct mbed_gpio_init_param mbed_trigger_gpio_extra_init_params
Definition: app_config_mbed.c:61
struct mbed_gpio_irq_init_param mbed_trigger_gpio_irq_init_params
Definition: app_config_mbed.c:65
struct mbed_uart_init_param mbed_vcom_extra_init_params
Definition: app_config_mbed.c:42
struct mbed_uart_init_param mbed_uart_extra_init_params
Definition: app_config_mbed.c:31
struct mbed_spi_init_param mbed_spi_extra_init_params
Definition: app_config_mbed.c:54
struct mbed_i2c_init_param mbed_i2c_extra_init_params
Definition: app_config_mbed.c:69
void lvgl_tick_callback(void *ctx)
struct mbed_irq_init_param mbed_ticker_int_extra_init_params
Definition: app_config_mbed.c:65
struct mbed_gpio_init_param mbed_dig_aux1_gpio_extra_init_params
Definition: app_config_mbed.c:51
struct mbed_gpio_init_param mbed_dig_aux2_gpio_extra_init_params
Definition: app_config_mbed.c:55
struct mbed_gpio_init_param mbed_sync_inb_gpio_extra_init_params
Definition: app_config_mbed.c:59