Go to the documentation of this file.
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
40 #include <xparameters.h>
41 #include <xil_cache.h>
50 #define DCACHE_INVALIDATE Xil_DCacheInvalidateRange
52 #define DMA_BASEADDR XPAR_AXI_AD469X_DMA_BASEADDR
53 #define SPI_ENGINE_BASEADDR XPAR_SPI_AD469X_SPI_AD469X_AXI_REGMAP_BASEADDR
54 #define RX_CLKGEN_BASEADDR XPAR_SPI_CLKGEN_BASEADDR
55 #define AXI_PWMGEN_BASEADDR XPAR_AD469X_TRIGGER_GEN_BASEADDR
56 #define SPI_ENG_REF_CLK_FREQ_HZ XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ
58 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
60 #define NUM_SAMPLES 2000
61 #define BYTES_PER_SAMPLE 4
62 #define MAX_CHANNELS 17
63 #define ADC_DDR_BASEADDR XPAR_DDR_MEM_BASEADDR + 0x800000
64 #define MAX_SIZE_BASE_ADDR (NUM_SAMPLES * BYTES_PER_SAMPLE * MAX_CHANNELS)
67 #define UART_EXTRA &uart_extra_ip
68 #define UART_OPS &xil_uart_ops
69 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
70 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
71 #define UART_BAUDRATE 115200
74 #define PWM_OPS &axi_pwm_ops
75 #define PWM_EXTRA &pwm_extra_ip
76 #define PWM_PERIOD 1000
80 #define GPIO_OPS &xil_gpio_ops
81 #define GPIO_EXTRA &gpio_extra_ip
82 #define GPIO_OFFSET 54
83 #define GPIO_RESETN_1 GPIO_OFFSET + 32
84 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
87 #define SPI_DEVICE_ID 0
88 #define SPI_OPS &spi_eng_platform_ops
89 #define SPI_EXTRA &spi_eng_extra_ip
91 #define SPI_BAUDRATE 80000000
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
Structure holding the initialization parameters for axi PWM.
Definition: axi_pwm_extra.h:50
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:83
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64