13 #ifndef APP_CONFIG_MBED_H_
14 #define APP_CONFIG_MBED_H_
22 #include "mbed_uart.h"
25 #include "mbed_gpio.h"
26 #include "mbed_gpio_irq.h"
34 #define SPI_CSB ARDUINO_UNO_D10
35 #define SPI_HOST_SDO ARDUINO_UNO_D11
36 #define SPI_HOST_SDI ARDUINO_UNO_D12
37 #define SPI_SCK ARDUINO_UNO_D13
39 #define I2C_SCL ARDUINO_UNO_D15
40 #define I2C_SDA ARDUINO_UNO_D14
43 #define GPIO_RESET_PIN ARDUINO_UNO_D2
44 #define GPIO_MODE0_PIN 0
45 #define GPIO_MODE1_PIN 0
46 #define GPIO_MODE2_PIN 0
47 #define GPIO_MODE3_PIN 0
49 #define GPIO_DCLK0_PIN 0
50 #define GPIO_DCLK1_PIN 0
51 #define GPIO_DCLK2_PIN 0
52 #define GPIO_SYNC_IN_PIN ARDUINO_UNO_D0
53 #define GPIO_CONVST_SAR_PIN ARDUINO_UNO_D1
55 #define GPIO_DRDY_PIN ARDUINO_UNO_D8
56 #define GPIO_ERROR_LED LED1
57 #define EXT_MCLK_PIN ARDUINO_UNO_D3
60 #define GPIO_DRDY_PORT 0
61 #define GPIO_RESET_PORT 0
62 #define GPIO_MODE0_PORT 0
63 #define GPIO_MODE1_PORT 0
64 #define GPIO_MODE2_PORT 0
65 #define GPIO_MODE3_PORT 0
66 #define GPIO_DCLK0_PORT 0
67 #define GPIO_DCLK1_PORT 0
68 #define GPIO_DCLK2_PORT 0
69 #define GPIO_CONVST_PORT 0
70 #define GPIO_SYNC_PORT 0
71 #define GPIO_ERROR_LED_PORT 0
73 #define IRQ_INT_ID GPIO_IRQ_ID1
74 #define DRDY_IRQ_CTRL_ID 0
75 #define UART_DEVICE_ID 0
76 #define SPI_DEVICE_ID 0
77 #define I2C_DEVICE_ID 0
81 #define UART_TX CONSOLE_TX
82 #define UART_RX CONSOLE_RX
91 #define AD777x_SAMPLING_FREQUENCY 12000
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_pwm_init_param mbed_pwm_init_params
Definition: app_config_mbed.c:70
struct mbed_i2c_init_param mbed_i2c_extra_init_params
Definition: app_config_mbed.c:69
struct mbed_gpio_init_param mbed_gpio_reset_extra_init_params
Definition: app_config_mbed.c:76
struct mbed_gpio_init_param mbed_gpio_mode0_extra_init_params
Definition: app_config_mbed.c:71
struct mbed_gpio_init_param mbed_gpio_mode1_extra_init_params
Definition: app_config_mbed.c:75
struct mbed_gpio_init_param mbed_gpio_convst_sar_extra_init_params
Definition: app_config_mbed.c:103
struct mbed_gpio_init_param mbed_gpio_error_extra_init_params
Definition: app_config_mbed.c:111
struct mbed_gpio_init_param mbed_gpio_dclk0_extra_init_params
Definition: app_config_mbed.c:87
struct mbed_gpio_init_param mbed_gpio_drdy_extra_init_params
Definition: app_config_mbed.c:107
struct mbed_gpio_init_param mbed_gpio_sync_in_extra_init_params
Definition: app_config_mbed.c:99
struct mbed_gpio_init_param mbed_gpio_dclk1_extra_init_params
Definition: app_config_mbed.c:91
struct mbed_gpio_init_param mbed_gpio_dclk2_extra_init_params
Definition: app_config_mbed.c:95
struct mbed_gpio_init_param mbed_gpio_mode3_extra_init_params
Definition: app_config_mbed.c:83
struct mbed_gpio_init_param mbed_gpio_mode2_extra_init_params
Definition: app_config_mbed.c:79
void ad777x_configure_intr_priority(void)
Configure the interrupt priorities.
Definition: app_config_mbed.c:135