no-OS
Variables
parameters.c File Reference

Definition of xilinx platform data used by ad463x_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 ad4630_axi_pwm_init
 
struct spi_engine_init_param spi_eng_init_param
 
struct xil_gpio_init_param gpio_extra_param
 

Detailed Description

Definition of xilinx platform data used by ad463x_fmcz project.

Author
Antoniu Miclaus (anton.nosp@m.iu.m.nosp@m.iclau.nosp@m.s@an.nosp@m.alog..nosp@m.com)
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

◆ ad4630_axi_pwm_init

struct axi_pwm_init_param ad4630_axi_pwm_init
Initial value:
= {
.base_addr = AXI_PWMGEN_BASEADDR,
.ref_clock_Hz = 100000000,
.channel = 0
}

◆ gpio_extra_param

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

◆ spi_eng_init_param

struct spi_engine_init_param spi_eng_init_param
Initial value:
= {
.ref_clk_hz = 160000000,
.type = SPI_ENGINE,
.spi_engine_baseaddr = SPI_ENGINE_BASEADDR,
.cs_delay = 0,
.data_width = 32,
}

◆ 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_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
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:87
SPI_ENGINE
@ SPI_ENGINE
Definition: xilinx_spi.h:64
AXI_PWMGEN_BASEADDR
#define AXI_PWMGEN_BASEADDR
Definition: parameters.h:98