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 SPI_HMC7044_CS 0x00
48 
49 #define SPI_0_DEVICE_ID XPAR_SPI_0_DEVICE_ID
50 #define SPI_AD9208_0_CS 0x01
51 #define RX_0_JESD_BASEADDR XPAR_AXI_AD9208_0_JESD_RX_AXI_BASEADDR
52 #define RX_0_XCVR_BASEADDR XPAR_AXI_AD9208_0_XCVR_BASEADDR
53 #define RX_0_CORE_BASEADDR XPAR_RX_AD9208_0_TPL_CORE_ADC_TPL_CORE_BASEADDR
54 
55 #define SPI_DEVICE_ID XPAR_AXI_SPI_DEVICE_ID
56 #define SPI_AD9208_CS 0x02
57 
58 #define GPIO_DEVICE_ID XPAR_GPIO_0_DEVICE_ID
59 
60 #define RX_1_JESD_BASEADDR XPAR_AXI_AD9208_1_JESD_RX_AXI_BASEADDR
61 #define RX_1_XCVR_BASEADDR XPAR_AXI_AD9208_1_XCVR_BASEADDR
62 #define RX_1_CORE_BASEADDR XPAR_RX_AD9208_1_TPL_CORE_ADC_TPL_CORE_BASEADDR
63 
64 #define RX_DMA_BASEADDR XPAR_AXI_AD9208_DMA_BASEADDR
65 #define ADC_DDR_BASEADDR (XPAR_AXI_DDR_CNTRL_BASEADDR + 0x800000)
66 #define ADC_DDR_HIGHADDR XPAR_AXI_DDR_CNTRL_HIGHADDR
67 
68 /* iio_app parameters */
69 #define UART_DEVICE_ID XPAR_AXI_UART_DEVICE_ID
70 #define UART_BAUDRATE 115200
71 #define UART_IRQ_ID XPAR_AXI_INTC_AXI_UART_INTERRUPT_INTR
72 #define INTC_DEVICE_ID XPAR_INTC_SINGLE_DEVICE_ID
73 
74 #endif /* __PARAMETERS_H__ */