no-OS
Macros | Variables
parameters.h File Reference

Definitions specific to xilinx platform used by ad469x_fmcz project. More...

#include <xparameters.h>
#include <xil_cache.h>
#include <xilinx_uart.h>
#include "axi_pwm_extra.h"
#include "spi_engine.h"
#include "xilinx_gpio.h"
Include dependency graph for parameters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DCACHE_INVALIDATE   Xil_DCacheInvalidateRange
 
#define DMA_BASEADDR   XPAR_AXI_AD469X_DMA_BASEADDR
 
#define SPI_ENGINE_BASEADDR   XPAR_SPI_AD469X_SPI_AD469X_AXI_REGMAP_BASEADDR
 
#define RX_CLKGEN_BASEADDR   XPAR_SPI_CLKGEN_BASEADDR
 
#define AXI_PWMGEN_BASEADDR   XPAR_AD469X_TRIGGER_GEN_BASEADDR
 
#define SPI_ENG_REF_CLK_FREQ_HZ   XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ
 
#define INTC_DEVICE_ID   XPAR_SCUGIC_SINGLE_DEVICE_ID
 
#define NUM_SAMPLES   2000
 
#define BYTES_PER_SAMPLE   4
 
#define MAX_CHANNELS   17
 
#define ADC_DDR_BASEADDR   XPAR_DDR_MEM_BASEADDR + 0x800000
 
#define MAX_SIZE_BASE_ADDR   (NUM_SAMPLES * BYTES_PER_SAMPLE * MAX_CHANNELS)
 
#define UART_EXTRA   &uart_extra_ip
 
#define UART_OPS   &xil_uart_ops
 
#define UART_DEVICE_ID   XPAR_XUARTPS_0_DEVICE_ID
 
#define UART_IRQ_ID   XPAR_XUARTPS_1_INTR
 
#define UART_BAUDRATE   115200
 
#define PWM_OPS   &axi_pwm_ops
 
#define PWM_EXTRA   &pwm_extra_ip
 
#define PWM_PERIOD   1000
 
#define PWM_DUTY   10
 
#define GPIO_OPS   &xil_gpio_ops
 
#define GPIO_EXTRA   &gpio_extra_ip
 
#define GPIO_OFFSET   54
 
#define GPIO_RESETN_1   GPIO_OFFSET + 32
 
#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID
 
#define SPI_DEVICE_ID   0
 
#define SPI_OPS   &spi_eng_platform_ops
 
#define SPI_EXTRA   &spi_eng_extra_ip
 
#define SPI_CS   0
 
#define SPI_BAUDRATE   80000000
 

Variables

struct xil_uart_init_param uart_extra_ip
 
struct axi_pwm_init_param pwm_extra_ip
 
struct xil_gpio_init_param gpio_extra_ip
 
struct spi_engine_init_param spi_eng_extra_ip
 

Detailed Description

Definitions specific to xilinx platform used by ad469x_fmcz project.

Author
Axel Haslam (ahasl.nosp@m.am@b.nosp@m.aylib.nosp@m.re.c.nosp@m.om)

Copyright 2024(c) Analog Devices, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Macro Definition Documentation

◆ ADC_DDR_BASEADDR

#define ADC_DDR_BASEADDR   XPAR_DDR_MEM_BASEADDR + 0x800000

◆ AXI_PWMGEN_BASEADDR

#define AXI_PWMGEN_BASEADDR   XPAR_AD469X_TRIGGER_GEN_BASEADDR

◆ BYTES_PER_SAMPLE

#define BYTES_PER_SAMPLE   4

◆ DCACHE_INVALIDATE

#define DCACHE_INVALIDATE   Xil_DCacheInvalidateRange

◆ DMA_BASEADDR

#define DMA_BASEADDR   XPAR_AXI_AD469X_DMA_BASEADDR

◆ GPIO_DEVICE_ID

#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID

◆ GPIO_EXTRA

#define GPIO_EXTRA   &gpio_extra_ip

◆ GPIO_OFFSET

#define GPIO_OFFSET   54

◆ GPIO_OPS

#define GPIO_OPS   &xil_gpio_ops

◆ GPIO_RESETN_1

#define GPIO_RESETN_1   GPIO_OFFSET + 32

◆ INTC_DEVICE_ID

#define INTC_DEVICE_ID   XPAR_SCUGIC_SINGLE_DEVICE_ID

◆ MAX_CHANNELS

#define MAX_CHANNELS   17

◆ MAX_SIZE_BASE_ADDR

#define MAX_SIZE_BASE_ADDR   (NUM_SAMPLES * BYTES_PER_SAMPLE * MAX_CHANNELS)

◆ NUM_SAMPLES

#define NUM_SAMPLES   2000

◆ PWM_DUTY

#define PWM_DUTY   10

◆ PWM_EXTRA

#define PWM_EXTRA   &pwm_extra_ip

◆ PWM_OPS

#define PWM_OPS   &axi_pwm_ops

◆ PWM_PERIOD

#define PWM_PERIOD   1000

◆ RX_CLKGEN_BASEADDR

#define RX_CLKGEN_BASEADDR   XPAR_SPI_CLKGEN_BASEADDR

◆ SPI_BAUDRATE

#define SPI_BAUDRATE   80000000

◆ SPI_CS

#define SPI_CS   0

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   0

◆ SPI_ENG_REF_CLK_FREQ_HZ

#define SPI_ENG_REF_CLK_FREQ_HZ   XPAR_PS7_SPI_0_SPI_CLK_FREQ_HZ

◆ SPI_ENGINE_BASEADDR

#define SPI_ENGINE_BASEADDR   XPAR_SPI_AD469X_SPI_AD469X_AXI_REGMAP_BASEADDR

◆ SPI_EXTRA

#define SPI_EXTRA   &spi_eng_extra_ip

◆ SPI_OPS

#define SPI_OPS   &spi_eng_platform_ops

◆ UART_BAUDRATE

#define UART_BAUDRATE   115200

◆ UART_DEVICE_ID

#define UART_DEVICE_ID   XPAR_XUARTPS_0_DEVICE_ID

◆ UART_EXTRA

#define UART_EXTRA   &uart_extra_ip

◆ UART_IRQ_ID

#define UART_IRQ_ID   XPAR_XUARTPS_1_INTR

◆ UART_OPS

#define UART_OPS   &xil_uart_ops

Variable Documentation

◆ gpio_extra_ip

struct xil_gpio_init_param gpio_extra_ip

◆ pwm_extra_ip

struct axi_pwm_init_param pwm_extra_ip

◆ spi_eng_extra_ip

struct spi_engine_init_param spi_eng_extra_ip

◆ uart_extra_ip

struct xil_uart_init_param uart_extra_ip