13 #ifndef _APP_CONFIG_MBED_H_
14 #define _APP_CONFIG_MBED_H_
23 #include "no_os_gpio.h"
24 #include "mbed_uart.h"
26 #include "mbed_gpio_irq.h"
29 #include "mbed_gpio.h"
36 #define SPI_CSB ARDUINO_UNO_D10
37 #define SPI_HOST_SDO ARDUINO_UNO_D11
38 #define SPI_HOST_SDI ARDUINO_UNO_D12
39 #define SPI_SCK ARDUINO_UNO_D13
41 #define I2C_SCL ARDUINO_UNO_D15
42 #define I2C_SDA ARDUINO_UNO_D14
45 #define CONV_MON ARDUINO_UNO_D2
48 #define UART_TX CONSOLE_TX
49 #define UART_RX CONSOLE_RX
59 #define AD77681_MCLK (16384)
62 #define AD77681_DECIMATION_RATE (32U)
65 #define AD77681_DEFAULT_MCLK_DIV (8)
68 #define AD77681_ODR_CONV_SCALER (AD77681_DECIMATION_RATE * AD77681_DEFAULT_MCLK_DIV)
71 #define AD77681_DEFAULT_SAMPLING_FREQ ((AD77681_MCLK * 1000) / AD77681_ODR_CONV_SCALER)
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