Go to the documentation of this file.
39 #ifndef __COMMON_DATA_H__
40 #define __COMMON_DATA_H__
45 #include "platform_includes.h"
56 #include "portmacro.h"
70 #define DEMO_CHANNELS no_os_max(TOTAL_ADC_CHANNELS, TOTAL_DAC_CHANNELS)
72 #ifdef ENABLE_LOOPBACK
73 #define SAMPLES_PER_CHANNEL SAMPLES_PER_CHANNEL_PLATFORM
74 #else //ENABLE_LOOPBACK
75 #define SAMPLES_PER_CHANNEL 0
76 #define loopback_buffs NULL
77 #endif //ENABLE_LOOPBACK
82 #define MAX_SIZE_BASE_ADDR (SAMPLES_PER_CHANNEL * DEMO_CHANNELS * \
85 #define DAC_DDR_BASEADDR out_buff
86 #define ADC_DDR_BASEADDR in_buff
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
struct dac_demo_init_param dac_init_par
Definition: common_data.c:74
struct no_os_gpio_init_param gpio_ip
Definition: common_data.c:52
Header file of Delay functions.
uint8_t in_buff[]
Definition: parameters.c:48
Header file of ADC Demo Driver.
struct no_os_uart_init_param iio_demo_uart_ip
Definition: common_data.c:52
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:116
Defines useded for configuring freeRTOS in iio_demo_freeRTOS project.
uint8_t out_buff[]
Definition: common_data.c:85
Header file of utility functions.
Definition: adc_demo.h:84
struct adc_demo_init_param adc_init_par
Definition: common_data.c:64
Definition: dac_demo.h:83
Header file of DAC Demo Driver.