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 /******************************************************************************/
40 /********************** Macros and Constants Definitions **********************/
41 /******************************************************************************/
42 #define SPI_DEVICE_ID 0U
43 #define GPIO_OFFSET 54U
44 
45 #define RDY_PIN GPIO_OFFSET + 32U
46 #define GPIO_IRQ_ID 52U
47 
48 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
49 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
50 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
51 #define UART_BAUDRATE 115200
52 
53 #endif