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 AXI_PWMGEN_BASEADDR XPAR_SPI_TRIGGER_GEN_BASEADDR
52 #define ADAQ7980_SPI_ENG_REF_CLK_FREQ_HZ XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ
53 #define ADAQ7980_DMA_BASEADDR XPAR_AXI_ADAQ7980_DMA_BASEADDR
54 #define ADAQ7980_SPI_ENGINE_BASEADDR XPAR_SPI_AXI_BASEADDR
55 #define SPI_ADAQ7980_CS 0
56 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
57 #define GPIO_OFFSET 32 + 54
58 #define GPIO_0 GPIO_OFFSET + 0
59 #define GPIO_1 GPIO_OFFSET + 1
60 #define GPIO_2 GPIO_OFFSET + 2
61 #define GPIO_3 GPIO_OFFSET + 3
62 #define GPIO_4 GPIO_OFFSET + 4
63 #define GPIO_5 GPIO_OFFSET + 5
64 #define GPIO_6 GPIO_OFFSET + 6
65 #define GPIO_7 GPIO_OFFSET + 7
66 #define GPIO_REF_PUB GPIO_OFFSET + 8
67 #define GPIO_RBUF_PUB GPIO_OFFSET + 9
68 #define ADC_DDR_BASEADDR XPAR_DDR_MEM_BASEADDR + 0x800000
69 
70 #endif /* __PARAMETERS_H__ */