Go to the documentation of this file.
33 #ifndef __PARAMETERS_H__
34 #define __PARAMETERS_H__
40 #include <xparameters.h>
43 #include "xil_cache.h"
50 #ifndef XILINX_PLATFORM
51 #define GPIO_RESET_N 0
53 #define GPIO_SPI_QPI 2
54 #define GPIO_ALERT_N 3
55 #define GPIO_SYNC_EVENTS 4
56 #define GPIO_RED 5 //GPIO_6
57 #define GPIO_GREEN 6 //GPIO_7
58 #define GPIO_BLUE 7 //GPIO_8
62 #define GPIO_ALERT_N 1
67 #define GPIO_RESET_N 6
68 #define GPIO_SPI_QPI 7
72 #define GPIO_BANK_0_PINS 32
73 #define GPIO_BANK_1_PINS 22
74 #define GPIO_BANK_2_PINS 32
75 #define GPIO_BANK_3_OFFSET (GPIO_BANK_0_PINS + GPIO_BANK_1_PINS + \
78 #define GPIO_OFFSET GPIO_BANK_3_OFFSET
80 #define MAX_BUFF_SAMPLES 10000
81 #define UART_BAUDRATE 115200
83 #define SPI_DEVICE_ID XPAR_PS7_SPI_0_DEVICE_ID
84 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
85 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
86 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
88 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
90 #define TX_CORE_BASEADDR XPAR_AXI_AD3552R_DAC_BASEADDR
91 #define TX_DMA_BASEADDR XPAR_AXI_DAC_DMA_BASEADDR
92 #define TX_CLKGEN_BASEADDR XPAR_AXI_CLKGEN_BASEADDR
94 #define GPIO_OPS &xil_gpio_ops
95 #define GPIO_EXTRA &xil_gpio_param
96 #define SPI_EXTRA &xil_spi_param
98 #endif // __PARAMETERS_H__