no-OS
Loading...
Searching...
No Matches
common_data.h File Reference

Defines common data to be used by iio_demo examples. More...

#include "platform_includes.h"
#include "app_config.h"
#include "no_os_util.h"
#include "adc_demo.h"
#include "dac_demo.h"
Include dependency graph for common_data.h:

Macros

#define DEMO_CHANNELS   no_os_max(TOTAL_ADC_CHANNELS, TOTAL_DAC_CHANNELS)
 
#define SAMPLES_PER_CHANNEL   SAMPLES_PER_CHANNEL_PLATFORM
 
#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 adc_demo_init_param adc_init_par
 
struct dac_demo_init_param dac_init_par
 

Detailed Description

Defines common data to be used by iio_demo examples.

Defines common data to be used by iio_demo_freeRTOS examples.

Author
RBolboac (ramon.nosp@m.a.bo.nosp@m.lboac.nosp@m.a@an.nosp@m.alog..nosp@m.com)

Copyright 2022(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Author
Robert Budai (rober.nosp@m.t.bu.nosp@m.dai@a.nosp@m.nalo.nosp@m.g.com)

Copyright 2023(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

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)

◆ MAX_SIZE_BASE_ADDR

#define MAX_SIZE_BASE_ADDR
Value:
sizeof(uint16_t))
#define SAMPLES_PER_CHANNEL
Definition common_data.h:17
#define DEMO_CHANNELS
Definition common_data.h:24

◆ SAMPLES_PER_CHANNEL

#define SAMPLES_PER_CHANNEL   SAMPLES_PER_CHANNEL_PLATFORM

Variable Documentation

◆ adc_init_par

struct adc_demo_init_param adc_init_par
extern

◆ dac_init_par

struct dac_demo_init_param dac_init_par
extern

◆ iio_demo_uart_ip

struct no_os_uart_init_param iio_demo_uart_ip
extern

◆ in_buff

uint8_t in_buff[]
extern

◆ out_buff

uint8_t out_buff[]
extern