no-OS
Macros
parameters.h File Reference

Parameters Definitions. More...

#include <xparameters.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 SPI_DEVICE_ID   XPAR_PS7_SPI_0_DEVICE_ID
 
#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID
 
#define CN0561_DMA_BASEADDR   XPAR_AXI_CN0561_DMA_BASEADDR
 
#define CN0561_SPI_ENGINE_BASEADDR   XPAR_SPI_CN0561_SPI_CN0561_AXI_REGMAP_BASEADDR
 
#define CN0561_SPI_ENG_REF_CLK_FREQ_HZ   100000000
 
#define CN0561_SPI_CS   0
 
#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID
 
#define GPIO_OFFSET   54
 
#define GPIO_RESETN   GPIO_OFFSET + 32
 
#define GPIO_PDN   GPIO_OFFSET + 33
 
#define GPIO_MODE   GPIO_OFFSET + 34
 
#define GPIO_PINBSPI   GPIO_OFFSET + 35
 
#define GPIO_0   GPIO_OFFSET + 36
 
#define GPIO_1   GPIO_OFFSET + 37
 
#define GPIO_2   GPIO_OFFSET + 38
 
#define GPIO_4   GPIO_OFFSET + 39
 
#define GPIO_5   GPIO_OFFSET + 40
 
#define GPIO_6   GPIO_OFFSET + 41
 
#define GPIO_7   GPIO_OFFSET + 42
 
#define CN0561_FMC_CH_NO   4
 
#define CN0561_FMC_SAMPLE_NO   256
 
#define ADC_BUFFER_SIZE   1000000
 
#define CORA_Z7S_DATA_CLK_FREQ_HZ   24000000
 
#define ZED_DATA_CLK_FREQ_HZ   50000000
 

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

◆ ADC_BUFFER_SIZE

#define ADC_BUFFER_SIZE   1000000

◆ CN0561_DMA_BASEADDR

#define CN0561_DMA_BASEADDR   XPAR_AXI_CN0561_DMA_BASEADDR

◆ CN0561_FMC_CH_NO

#define CN0561_FMC_CH_NO   4

◆ CN0561_FMC_SAMPLE_NO

#define CN0561_FMC_SAMPLE_NO   256

◆ CN0561_SPI_CS

#define CN0561_SPI_CS   0

◆ CN0561_SPI_ENG_REF_CLK_FREQ_HZ

#define CN0561_SPI_ENG_REF_CLK_FREQ_HZ   100000000

◆ CN0561_SPI_ENGINE_BASEADDR

#define CN0561_SPI_ENGINE_BASEADDR   XPAR_SPI_CN0561_SPI_CN0561_AXI_REGMAP_BASEADDR

◆ CORA_Z7S_DATA_CLK_FREQ_HZ

#define CORA_Z7S_DATA_CLK_FREQ_HZ   24000000

◆ GPIO_0

#define GPIO_0   GPIO_OFFSET + 36

◆ GPIO_1

#define GPIO_1   GPIO_OFFSET + 37

◆ GPIO_2

#define GPIO_2   GPIO_OFFSET + 38

◆ GPIO_4

#define GPIO_4   GPIO_OFFSET + 39

◆ GPIO_5

#define GPIO_5   GPIO_OFFSET + 40

◆ GPIO_6

#define GPIO_6   GPIO_OFFSET + 41

◆ GPIO_7

#define GPIO_7   GPIO_OFFSET + 42

◆ GPIO_DEVICE_ID [1/2]

#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID

◆ GPIO_DEVICE_ID [2/2]

#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID

◆ GPIO_MODE

#define GPIO_MODE   GPIO_OFFSET + 34

◆ GPIO_OFFSET

#define GPIO_OFFSET   54

◆ GPIO_PDN

#define GPIO_PDN   GPIO_OFFSET + 33

◆ GPIO_PINBSPI

#define GPIO_PINBSPI   GPIO_OFFSET + 35

◆ GPIO_RESETN

#define GPIO_RESETN   GPIO_OFFSET + 32

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   XPAR_PS7_SPI_0_DEVICE_ID

◆ ZED_DATA_CLK_FREQ_HZ

#define ZED_DATA_CLK_FREQ_HZ   50000000