no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef _PARAMETERS_H_
35 #define _PARAMETERS_H_
36 
37 /******************************************************************************/
38 /***************************** Include Files **********************************/
39 /******************************************************************************/
40 #include <xparameters.h>
41 
42 /******************************************************************************/
43 /********************** Macros and Constants Definitions **********************/
44 /******************************************************************************/
45 #define SPI_DEVICE_ID XPAR_PS7_SPI_0_DEVICE_ID
46 #define SPI_ADF4377_CS 0
47 
48 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
49 
50 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
51 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
52 
53 #define UART_BAUDRATE 115200
54 
55 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
56 
57 #define GPIO_OFFSET 32 + 54
58 #define GPIO_MUXOUT GPIO_OFFSET
59 #define GPIO_LKDET GPIO_OFFSET + 1
60 #define GPIO_ENCLK2 GPIO_OFFSET + 2
61 #define GPIO_CE GPIO_OFFSET + 3
62 #define GPIO_ENCLK1 GPIO_OFFSET + 4
63 
64 #endif /* _PARAMETERS_H_ */