no-OS
Loading...
Searching...
No Matches
parameters.c File Reference

Definition of Lattice platform data used by ad738x_fmcz project. More...

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

Variables

struct spi_engine_offload_init_param spi_engine_offload_init_param
 
struct latt_ip_uart_init_param uart_extra_ip
 
struct axi_pwm_init_param axi_pwm_init_param
 
struct spi_engine_init_param spi_eng_init_param
 

Detailed Description

Definition of Lattice platform data used by ad738x_fmcz project.

Author
Vilmos-Csaba Jozsa (vilmo.nosp@m.scsa.nosp@m.ba.jo.nosp@m.zsa@.nosp@m.analo.nosp@m.g.co.nosp@m.m)

Copyright 2024-2026(c) Analog Devices, Inc.

All rights reserved.

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

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • 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.
  • 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.
  • The use of this software may or may not infringe the patent rights of one or more patent holders. This license does not release you from the requirement that you obtain separate licenses from these patent holders to use this software.
  • Use of the software either in source or binary form, must be run on or directly connected to an Analog Devices Inc. component.

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, 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

◆ axi_pwm_init_param

struct axi_pwm_init_param axi_pwm_init_param
Initial value:
= {
.base_addr = AXI_PWMGEN_BASEADDR,
.ref_clock_Hz = AXI_PWM_REFCLK_RATE,
.channel = 0
}
#define AXI_PWMGEN_BASEADDR
Definition parameters.h:92
#define AXI_PWM_REFCLK_RATE
Definition parameters.h:80

◆ spi_eng_init_param

struct spi_engine_init_param spi_eng_init_param
Initial value:
= {
.ref_clk_hz = SPI_ENG_REFCLK_RATE,
.spi_engine_baseaddr = SPI_ENGINE_BASEADDR,
.cs_delay = 0,
.data_width = 16,
}
#define SPI_ENGINE_BASEADDR
Definition parameters.h:90
#define SPI_ENG_REFCLK_RATE
Definition parameters.h:81

◆ spi_engine_offload_init_param

struct spi_engine_offload_init_param spi_engine_offload_init_param
Initial value:
= {
.offload_config = OFFLOAD_RX_EN,
.rx_dma_baseaddr = DMA_BASEADDR,
}
#define DMA_BASEADDR
Definition parameters.h:89
#define OFFLOAD_RX_EN
Definition spi_engine.h:45

◆ uart_extra_ip

struct latt_ip_uart_init_param uart_extra_ip
Initial value:
= {
.base_addr = LATTICE_UART_BASE_ADDR,
.sys_clk = UART_REFCLK_RATE,
.irq_priority = UART_IRQ_PRIORITY,
}
#define LATTICE_UART_BASE_ADDR
Definition parameters.h:67
#define UART_IRQ_PRIORITY
Definition parameters.h:59
#define UART_REFCLK_RATE
Definition parameters.h:79