no-OS
Macros
parameters.h File Reference

Parameters Definitions. More...

#include <xparameters.h>
#include "xilinx_spi.h"
#include "xilinx_gpio.h"
#include "xil_cache.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 GPIO_RESET_N   0
 
#define GPIO_LDAC_N   1
 
#define GPIO_SPI_QPI   2
 
#define GPIO_ALERT_N   3
 
#define GPIO_SYNC_EVENTS   4
 
#define GPIO_RED   5
 
#define GPIO_GREEN   6
 
#define GPIO_BLUE   7
 
#define TOTAL_GPIOS   8
 
#define GPIO_BANK_0_PINS   32
 
#define GPIO_BANK_1_PINS   22
 
#define GPIO_BANK_2_PINS   32
 
#define GPIO_BANK_3_OFFSET
 
#define GPIO_OFFSET   GPIO_BANK_3_OFFSET
 
#define MAX_BUFF_SAMPLES   10000
 
#define UART_BAUDRATE   115200
 
#define SPI_DEVICE_ID   XPAR_PS7_SPI_0_DEVICE_ID
 
#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID
 
#define UART_DEVICE_ID   XPAR_XUARTPS_0_DEVICE_ID
 
#define INTC_DEVICE_ID   XPAR_SCUGIC_SINGLE_DEVICE_ID
 
#define UART_IRQ_ID   XPAR_XUARTPS_1_INTR
 
#define TX_CORE_BASEADDR   XPAR_AXI_AD3552R_DAC_BASEADDR
 
#define TX_DMA_BASEADDR   XPAR_AXI_DAC_DMA_BASEADDR
 
#define TX_CLKGEN_BASEADDR   XPAR_AXI_CLKGEN_BASEADDR
 
#define GPIO_OPS   &xil_gpio_ops
 
#define GPIO_EXTRA   &xil_gpio_param
 
#define SPI_EXTRA   &xil_spi_param
 

Detailed Description

Parameters Definitions.

Author
Mihail Chindris (mihai.nosp@m.l.ch.nosp@m.indri.nosp@m.s@an.nosp@m.alog..nosp@m.com)

Copyright 2021(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

◆ GPIO_ALERT_N

#define GPIO_ALERT_N   3

◆ GPIO_BANK_0_PINS

#define GPIO_BANK_0_PINS   32

◆ GPIO_BANK_1_PINS

#define GPIO_BANK_1_PINS   22

◆ GPIO_BANK_2_PINS

#define GPIO_BANK_2_PINS   32

◆ GPIO_BANK_3_OFFSET

#define GPIO_BANK_3_OFFSET
Value:
GPIO_BANK_2_PINS)

◆ GPIO_BLUE

#define GPIO_BLUE   7

◆ GPIO_DEVICE_ID

#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID

◆ GPIO_EXTRA

#define GPIO_EXTRA   &xil_gpio_param

◆ GPIO_GREEN

#define GPIO_GREEN   6

◆ GPIO_LDAC_N

#define GPIO_LDAC_N   1

◆ GPIO_OFFSET

#define GPIO_OFFSET   GPIO_BANK_3_OFFSET

◆ GPIO_OPS

#define GPIO_OPS   &xil_gpio_ops

◆ GPIO_RED

#define GPIO_RED   5

◆ GPIO_RESET_N

#define GPIO_RESET_N   0

◆ GPIO_SPI_QPI

#define GPIO_SPI_QPI   2

◆ GPIO_SYNC_EVENTS

#define GPIO_SYNC_EVENTS   4

◆ INTC_DEVICE_ID

#define INTC_DEVICE_ID   XPAR_SCUGIC_SINGLE_DEVICE_ID

◆ MAX_BUFF_SAMPLES

#define MAX_BUFF_SAMPLES   10000

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   XPAR_PS7_SPI_0_DEVICE_ID

◆ SPI_EXTRA

#define SPI_EXTRA   &xil_spi_param

◆ TOTAL_GPIOS

#define TOTAL_GPIOS   8

◆ TX_CLKGEN_BASEADDR

#define TX_CLKGEN_BASEADDR   XPAR_AXI_CLKGEN_BASEADDR

◆ TX_CORE_BASEADDR

#define TX_CORE_BASEADDR   XPAR_AXI_AD3552R_DAC_BASEADDR

◆ TX_DMA_BASEADDR

#define TX_DMA_BASEADDR   XPAR_AXI_DAC_DMA_BASEADDR

◆ UART_BAUDRATE

#define UART_BAUDRATE   115200

◆ UART_DEVICE_ID

#define UART_DEVICE_ID   XPAR_XUARTPS_0_DEVICE_ID

◆ UART_IRQ_ID

#define UART_IRQ_ID   XPAR_XUARTPS_1_INTR
GPIO_BANK_0_PINS
#define GPIO_BANK_0_PINS
Definition: parameters.h:72
GPIO_BANK_1_PINS
#define GPIO_BANK_1_PINS
Definition: parameters.h:73