no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef PARAMETERS_H_
34 #define PARAMETERS_H_
35 
36 #include "app_config.h"
37 #include "xparameters.h"
38 
39 #ifdef PLATFORM_MB
40 #define SPI_DEVICE_ID XPAR_AXI_SPI_DEVICE_ID
41 #define ADC_DDR_BASEADDR (XPAR_AXI_DDR_CNTRL_BASEADDR + 0x800000)
42 #define UART_DEVICE_ID XPAR_AXI_UART_DEVICE_ID
43 #define UART_IRQ_ID XPAR_AXI_INTC_AXI_UART_INTERRUPT_INTR
44 #else
45 #define SPI_DEVICE_ID XPAR_XSPIPS_0_DEVICE_ID
46 #define ADC_DDR_BASEADDR (XPAR_DDR_MEM_BASEADDR + 0x800000)
47 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
48 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
49 
50 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
51 #endif
52 
53 #define UART_BAUDRATE 115200
54 #define RX_CORE_BASEADDR XPAR_AXI_AD9467_BASEADDR
55 #define RX_DMA_BASEADDR XPAR_AXI_AD9467_DMA_BASEADDR
56 
57 #endif /* SRC_PARAMETERS_H_ */