27#define CONTINUOUS_DATA_CAPTURE 0
28#define BURST_DATA_CAPTURE 1
31#if !defined(ACTIVE_PLATFORM)
32#define ACTIVE_PLATFORM STM32_PLATFORM
37#if !defined(DATA_CAPTURE_MODE)
38#define DATA_CAPTURE_MODE BURST_DATA_CAPTURE
45#if (ACTIVE_PLATFORM == STM32_PLATFORM)
47#define CONSOLE_STDIO_PORT_AVAILABLE
49#error "No/Invalid active platform selected"
53#define HW_MEZZANINE_NAME "PMD-ARD-INT-LCZ"
56#define ADC_RESOLUTION 12
59#define ADC_MAX_COUNT_UNIPOLAR (uint32_t)((1 << ADC_RESOLUTION) - 1)
62#define ADC_MAX_COUNT_BIPOLAR (uint32_t)(1 << (ADC_RESOLUTION-1))
64#define DEFAULT_VREF 2.5
65#define ADC_MAX_COUNT (uint32_t)(1<<ADC_RESOLUTION)
68#define BYTES_PER_SAMPLE 2
69#define STORAGE_BITS (BYTES_PER_SAMPLE) * 8
72#define IIO_UART_BAUD_RATE (230400)
75#define FIRMWARE_NAME "ad559xr_iio"
78#if !defined(PLATFORM_NAME)
79#define PLATFORM_NAME HW_CARRIER_NAME
83#if !defined(SYSTEM_CONFIG_DISABLED)
84#define SYSTEM_CONFIG_ENABLED
88#define ACTIVE_DEVICE_NAME AD5593R
94#if !defined(USE_PHY_COM_PORT)
95#define USE_VIRTUAL_COM_PORT
105#define AD5593R_A0_STATE 0
106#define AD5593R_I2C(x) (0x10 | (x & 0x01))
117extern 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
The file contain common macros that needs to be followed same across all the projects.
Header file for STM32 platform configurations.