no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef _PARAMETERS_H_
35 #define _PARAMETERS_H_
36 
37 #include <xparameters.h>
38 
39 #define SPI_DEVICE_ID XPAR_PS7_SPI_0_DEVICE_ID
40 #define RX_CORE_BASEADDR XPAR_AXI_ADAQ8092_BASEADDR
41 #define RX_DMA_BASEADDR XPAR_AXI_ADAQ8092_DMA_BASEADDR
42 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
43 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
44 #define UART_BAUDRATE 115200
45 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
46 
47 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
48 #define GPIO_OFFSET 32 + 54
49 
50 #define GPIO_PAR_SER_NR GPIO_OFFSET
51 #define GPIO_PD1_NR GPIO_OFFSET+1
52 #define GPIO_PD2_NR GPIO_OFFSET+2
53 #define GPIO_1V8_NR GPIO_OFFSET+3
54 
55 #endif /* _PARAMETERS_H_ */