no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __PARAMETERS_H__
34 #define __PARAMETERS_H__
35 
36 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 #include <xparameters.h>
40 
41 /******************************************************************************/
42 /********************** Macros and Constants Definitions **********************/
43 /******************************************************************************/
44 #define AD5766_SPI_ENG_REF_CLK_FREQ_HZ XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ
45 #define AD5766_DMA_BASEADDR XPAR_AXI_AD5766_DAC_DMA_BASEADDR
46 #define AD5766_CORE_BASEADDR XPAR_SPI_AXI_AD5766_BASEADDR
47 #define AD5766_SPI_ENGINE_BASEADDR XPAR_SPI_AXI_BASEADDR
48 #define AD5766_DDR_BASEADDR XPAR_DDR_MEM_BASEADDR + 0xA000000
49 #define SPI_AD5766_CS 0
50 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
51 #define GPIO_OFFSET 54 + 32
52 #define GPIO_RESET GPIO_OFFSET + 0
53 
54 #endif /* __PARAMETERS_H__ */