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 AD77681_EVB_SAMPLE_NO 8
45 #define AD77681_DMA_1_BASEADDR XPAR_AXI_AD77681_DMA_BASEADDR
46 #define AD77681_SPI1_ENGINE_BASEADDR XPAR_SPI_AD77681_SPI_AD77681_AXI_REGMAP_BASEADDR
47 #define AD77681_SPI_CS 0
48 #define AD77681_SPI_ENG_REF_CLK_FREQ_HZ 80000000
49 
50 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
51 #define GPIO_OFFSET 32
52 
53 #define GPIO_0_0 GPIO_OFFSET + 6 // 38
54 #define GPIO_0_1 GPIO_OFFSET + 5 // 37
55 #define GPIO_0_2 GPIO_OFFSET + 4 // 36
56 #define GPIO_0_3 GPIO_OFFSET + 3 // 35
57 #define GPIO_0_SYNC_IN GPIO_OFFSET + 2 // 34
58 #define GPIO_0_SYNC_OUT GPIO_OFFSET + 1 // 33
59 #define GPIO_0_RESET GPIO_OFFSET + 0 // 32
60 
61 #endif /* PARAMETERS_H_ */