no-OS
Variables
parameters.c File Reference

Definition of xilinx platform data used by ad469x_fmcz project. More...

#include "parameters.h"
Include dependency graph for parameters.c:

Variables

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

Detailed Description

Definition of xilinx platform data 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.

Variable Documentation

◆ gpio_extra_ip

struct xil_gpio_init_param gpio_extra_ip
Initial value:
= {
.device_id = GPIO_DEVICE_ID,
.type = GPIO_PS,
}

◆ pwm_extra_ip

struct axi_pwm_init_param pwm_extra_ip
Initial value:
= {
.base_addr = AXI_PWMGEN_BASEADDR,
.ref_clock_Hz = 160000000,
.channel = 0,
}

◆ spi_eng_extra_ip

struct spi_engine_init_param spi_eng_extra_ip
Initial value:
= {
.ref_clk_hz = SPI_ENG_REF_CLK_FREQ_HZ,
.type = SPI_ENGINE,
.spi_engine_baseaddr = SPI_ENGINE_BASEADDR,
.cs_delay = 0,
.data_width = 16,
}

◆ uart_extra_ip

struct xil_uart_init_param uart_extra_ip
Initial value:
= {
.type = UART_PS,
.irq_id = UART_IRQ_ID
}
GPIO_PS
@ GPIO_PS
Definition: xilinx_gpio.h:56
SPI_ENG_REF_CLK_FREQ_HZ
#define SPI_ENG_REF_CLK_FREQ_HZ
Definition: parameters.h:103
SPI_ENGINE_BASEADDR
#define SPI_ENGINE_BASEADDR
Definition: parameters.h:96
UART_PS
@ UART_PS
Definition: xilinx_uart.h:59
UART_IRQ_ID
#define UART_IRQ_ID
Definition: parameters.h:50
SPI_ENGINE
@ SPI_ENGINE
Definition: xilinx_spi.h:64
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:83
AXI_PWMGEN_BASEADDR
#define AXI_PWMGEN_BASEADDR
Definition: parameters.h:98