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