28#define MBED_PLATFORM 1
31#define BURST_DATA_CAPTURE 0
32#define CONTINUOUS_DATA_CAPTURE 1
39#if !defined(ACTIVE_PLATFORM)
40#define ACTIVE_PLATFORM MBED_PLATFORM
44#if !defined(DATA_CAPTURE_MODE)
45#define DATA_CAPTURE_MODE CONTINUOUS_DATA_CAPTURE
51#if !defined(USE_PHY_COM_PORT)
52#define USE_VIRTUAL_COM_PORT
56#define ACTIVE_DEVICE_NAME "ad7768-1"
58#if (ACTIVE_PLATFORM == MBED_PLATFORM)
61#define HW_CARRIER_NAME TARGET_NAME
64#define ext_int_extra_init_params mbed_ext_int_extra_init_params
65#if defined(USE_VIRTUAL_COM_PORT)
66#define uart_extra_init_params mbed_vcom_extra_init_params
67#define uart_ops mbed_virtual_com_ops
69#define uart_extra_init_params mbed_uart_extra_init_params
70#define uart_ops mbed_uart_ops
72#define spi_extra_init_params mbed_spi_extra_init_params
73#define i2c_extra_init_params mbed_i2c_extra_init_params
74#define trigger_gpio_irq_extra_params mbed_trigger_gpio_irq_init_params
75#define trigger_gpio_extra_init_params mbed_trigger_gpio_extra_init_params
76#define trigger_gpio_ops mbed_gpio_ops
77#define irq_ops mbed_gpio_irq_ops
78#define gpio_ops mbed_gpio_ops
79#define spi_ops mbed_spi_ops
80#define i2c_ops mbed_i2c_ops
81#define trigger_gpio_irq_ops mbed_gpio_irq_ops
82#define trigger_gpio_handle 0
83#define TRIGGER_GPIO_PORT 0
84#define TRIGGER_GPIO_PIN CONV_MON
85#define TRIGGER_INT_ID GPIO_IRQ_ID1
87#error "No/Invalid active platform selected"
91#define ADC_RESOLUTION 24
94#define FIRMWARE_NAME "ad77681_iio"
96#define DEVICE_NAME "DEV_AD77681"
98#if !defined(PLATFORM_NAME)
99#define PLATFORM_NAME HW_CARRIER_NAME
105#define VIRTUAL_COM_PORT_VID 0x0456
106#define VIRTUAL_COM_PORT_PID 0xb66c
108#define VIRTUAL_COM_SERIAL_NUM (FIRMWARE_NAME "_" DEVICE_NAME "_" STR(PLATFORM_NAME))
111#define IIO_UART_BAUD_RATE (230400)
struct no_os_irq_ctrl_desc * trigger_irq_desc
Definition app_config.c:103
int32_t init_system(void)
Initialize the system peripherals.
Definition app_config.c:185
struct no_os_uart_desc * uart_desc
Definition app_config.c:97
struct no_os_spi_init_param spi_init_params
Definition ad3530r_user_config.c:48
struct no_os_gpio_desc * trigger_gpio_desc
Definition app_config.c:170
Header file for Mbed platform configurations.