no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef __PARAMETERS_H__
40 #define __PARAMETERS_H__
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 #include <xparameters.h>
46 
47 /******************************************************************************/
48 /********************** Macros and Constants Definitions **********************/
49 /******************************************************************************/
50 
51 #define AD469x_DMA_BASEADDR XPAR_AXI_AD469X_DMA_BASEADDR
52 #define AD469x_SPI_ENGINE_BASEADDR XPAR_SPI_AD469X_AXI_REGMAP_BASEADDR
53 #define RX_CLKGEN_BASEADDR XPAR_SPI_CLKGEN_BASEADDR
54 #define AXI_PWMGEN_BASEADDR XPAR_AD469X_TRIGGER_GEN_BASEADDR
55 #define AD469x_SPI_ENG_REF_CLK_FREQ_HZ XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ
56 #define AD469x_SPI_CS 0
57 #define GPIO_OFFSET 54
58 #define GPIO_RESETN_1 GPIO_OFFSET + 32
59 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
60 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
61 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
62 #define UART_BAUDRATE 115200
63 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
64 #define ADC_DDR_BASEADDR XPAR_DDR_MEM_BASEADDR + 0x800000
65 /* Maximum data to be read or write in a capture over iio */
66 #define MAX_SIZE_BASE_ADDR 0x100000 //1MB
67 
68 #endif /* __PARAMETERS_H__ */