26#define STM32_PLATFORM 1
29#define CONTINUOUS_DATA_CAPTURE 0
30#define BURST_DATA_CAPTURE 1
33#if !defined(ACTIVE_PLATFORM)
34#define ACTIVE_PLATFORM STM32_PLATFORM
39#if !defined(DATA_CAPTURE_MODE)
40#define DATA_CAPTURE_MODE BURST_DATA_CAPTURE
47#if (ACTIVE_PLATFORM == STM32_PLATFORM)
49#define CONSOLE_STDIO_PORT_AVAILABLE
51#error "No/Invalid active platform selected"
55#define HW_MEZZANINE_NAME "PMD-ARD-INT-LCZ"
58#define ADC_RESOLUTION 12
61#define ADC_MAX_COUNT_UNIPOLAR (uint32_t)((1 << ADC_RESOLUTION) - 1)
64#define ADC_MAX_COUNT_BIPOLAR (uint32_t)(1 << (ADC_RESOLUTION-1))
66#define DEFAULT_VREF 2.5
67#define ADC_MAX_COUNT (uint32_t)(1<<ADC_RESOLUTION)
70#define BYTES_PER_SAMPLE 2
71#define STORAGE_BITS (BYTES_PER_SAMPLE) * 8
74#define IIO_UART_BAUD_RATE (230400)
77#define FIRMWARE_NAME "ad559xr_iio"
80#if !defined(PLATFORM_NAME)
81#define PLATFORM_NAME HW_CARRIER_NAME
85#if !defined(SYSTEM_CONFIG_DISABLED)
86#define SYSTEM_CONFIG_ENABLED
90#define ACTIVE_DEVICE_NAME AD5593R
96#if !defined(USE_PHY_COM_PORT)
97#define USE_VIRTUAL_COM_PORT
107#define AD5593R_A0_STATE 0
108#define AD5593R_I2C(x) (0x10 | (x & 0x01))
119extern struct no_os_pwm_desc *
pwm_desc;
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_eeprom_desc * eeprom_desc
Definition app_config.c:172
struct no_os_pwm_desc * pwm_desc
Definition app_config.c:106
struct no_os_uart_desc * uart_console_stdio_desc
Definition app_config.c:100
int32_t ad559xr_trigger_handler(struct iio_device_data *iio_dev_data)
Push data into IIO buffer when trigger handler IRQ is invoked.
Definition ad559xr_iio.c:1536
Header file for STM32 platform configurations.