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 #define GPIO_DEVICE_ID XPAR_PSU_GPIO_0_DEVICE_ID
42 #define GPIO_OFFSET 78
43 #define AD9803_PWDN (GPIO_OFFSET + 32)
44 #define AD9803_RSTB (GPIO_OFFSET + 33)
45 #define AD9528_REFSEL (GPIO_OFFSET + 34)
46 
47 #define CLK_AD9258_CS 0x01
48 #define SPI_AD9083_CS 0x00
49 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
50 #define UART_IRQ_ID XPAR_XUARTPS_0_INTR
51 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
52 
53 #define RX_JESD_BASEADDR XPAR_AXI_AD9083_RX_JESD_RX_AXI_BASEADDR
54 #define RX_XCVR_BASEADDR XPAR_AXI_AD9083_RX_XCVR_BASEADDR
55 #define RX_CORE_BASEADDR XPAR_RX_AD9083_TPL_CORE_ADC_TPL_CORE_BASEADDR
56 #define RX_DMA_BASEADDR XPAR_AXI_AD9083_RX_DMA_BASEADDR
57 #define ADC_DDR_BASEADDR (XPAR_DDR_MEM_BASEADDR + 0x800000)
58 #define UART_BAUDRATE 115200
59 
60 //#define SUBCLASS_1
61 
62 #endif /* __PARAMETERS_H__ */