13 #ifndef APP_CONFIG_MBED_H_
14 #define APP_CONFIG_MBED_H_
24 #include "mbed_uart.h"
26 #include "mbed_gpio.h"
27 #include "mbed_gpio_irq.h"
43 #define SPI_CSB ARDUINO_UNO_D10
44 #define SPI_HOST_SDO ARDUINO_UNO_D11
45 #define SPI_HOST_SDI ARDUINO_UNO_D12
46 #define SPI_SCK ARDUINO_UNO_D13
47 #define I2C_SCL ARDUINO_UNO_D15
48 #define I2C_SDA ARDUINO_UNO_D14
50 #define SPI_CSB SDP_SPI_CS_A
51 #define SPI_HOST_SDI SDP_SPI_MISO
52 #define SPI_HOST_SDO SDP_SPI_MOSI
53 #define SPI_SCK SDP_SPI_SCK
54 #define I2C_SCL SDP_I2C_SCL
55 #define I2C_SDA SDP_I2C_SDA
59 #define UART_TX CONSOLE_TX
60 #define UART_RX CONSOLE_RX
63 #define RDY_PIN ARDUINO_UNO_D8
65 #define TICKER_ID TICKER_INT_ID
66 #define ticker_ops mbed_irq_ops
69 #define SPI_DEVICE_ID 0
72 #define I2C_DEVICE_ID 0
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
struct mbed_irq_init_param mbed_ticker_int_extra_init_params
Definition: app_config_mbed.c:65