no-OS
Macros | Variables
common_data.h File Reference
#include "platform_includes.h"
#include "no_os_util.h"
#include "adc_demo.h"
#include "dac_demo.h"
Include dependency graph for common_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEMO_CHANNELS   no_os_max(TOTAL_ADC_CHANNELS, TOTAL_DAC_CHANNELS)
 
#define SAMPLES_PER_CHANNEL   0
 
#define loopback_buffs   NULL
 
#define MAX_SIZE_BASE_ADDR
 
#define DAC_DDR_BASEADDR   out_buff
 
#define ADC_DDR_BASEADDR   in_buff
 

Variables

struct no_os_uart_init_param iio_demo_uart_ip
 
uint8_t in_buff []
 
uint8_t out_buff []
 
struct no_os_gpio_init_param gpio_ip
 
struct adc_demo_init_param adc_init_par
 
struct dac_demo_init_param dac_init_par
 

Macro Definition Documentation

◆ ADC_DDR_BASEADDR

#define ADC_DDR_BASEADDR   in_buff

◆ DAC_DDR_BASEADDR

#define DAC_DDR_BASEADDR   out_buff

◆ DEMO_CHANNELS

#define DEMO_CHANNELS   no_os_max(TOTAL_ADC_CHANNELS, TOTAL_DAC_CHANNELS)

◆ loopback_buffs

#define loopback_buffs   NULL

◆ MAX_SIZE_BASE_ADDR

#define MAX_SIZE_BASE_ADDR
Value:
sizeof(uint16_t))

◆ SAMPLES_PER_CHANNEL

#define SAMPLES_PER_CHANNEL   0

Variable Documentation

◆ adc_init_par

struct adc_demo_init_param adc_init_par

◆ dac_init_par

struct dac_demo_init_param dac_init_par

◆ gpio_ip

struct no_os_gpio_init_param gpio_ip

◆ iio_demo_uart_ip

struct no_os_uart_init_param iio_demo_uart_ip

◆ in_buff

uint8_t in_buff[]

◆ out_buff

uint8_t out_buff[]
SAMPLES_PER_CHANNEL
#define SAMPLES_PER_CHANNEL
Definition: common_data.h:69
DEMO_CHANNELS
#define DEMO_CHANNELS
Definition: common_data.h:64