no-OS
Macros
parameters.h File Reference

Platform dependent parameters. 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 UART_BAUDRATE   115200
 
#define SPI_DEVICE_ID   XPAR_PS7_SPI_0_DEVICE_ID
 
#define SPI_AD7768_CS   0
 
#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID
 
#define GPIO_OFFSET   32 + 54
 
#define AD7768_DMA_BASEADDR   XPAR_AD7768_DMA_2_BASEADDR
 
#define ADC_DDR_BASEADDR   XPAR_DDR_MEM_BASEADDR + 0x800000
 
#define AD7768_ADC_BASEADDR   XPAR_AXI_AD7768_ADC_BASEADDR
 
#define UART_DEVICE_ID   XPAR_XUARTPS_0_DEVICE_ID
 
#define UART_IRQ_ID   XPAR_XUARTPS_1_INTR
 
#define INTC_DEVICE_ID   XPAR_SCUGIC_SINGLE_DEVICE_ID
 
#define GPIO_RESET_N   GPIO_OFFSET + 0
 
#define AD7768_HEADER_SIZE   8
 
#define BITS_IN_BYTE   8
 
#define AD7768_EVB_REFERENCE_VOLT   4.096f
 

Detailed Description

Platform dependent parameters.

Author
Antoniu Miclaus (anton.nosp@m.iu.m.nosp@m.iclau.nosp@m.s@an.nosp@m.alog..nosp@m.com)

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

◆ AD7768_ADC_BASEADDR

#define AD7768_ADC_BASEADDR   XPAR_AXI_AD7768_ADC_BASEADDR

◆ AD7768_DMA_BASEADDR

#define AD7768_DMA_BASEADDR   XPAR_AD7768_DMA_2_BASEADDR

◆ AD7768_EVB_REFERENCE_VOLT

#define AD7768_EVB_REFERENCE_VOLT   4.096f

◆ AD7768_HEADER_SIZE

#define AD7768_HEADER_SIZE   8

◆ ADC_DDR_BASEADDR

#define ADC_DDR_BASEADDR   XPAR_DDR_MEM_BASEADDR + 0x800000

◆ BITS_IN_BYTE

#define BITS_IN_BYTE   8

◆ GPIO_DEVICE_ID

#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID

◆ GPIO_OFFSET

#define GPIO_OFFSET   32 + 54

◆ GPIO_RESET_N

#define GPIO_RESET_N   GPIO_OFFSET + 0

◆ INTC_DEVICE_ID

#define INTC_DEVICE_ID   XPAR_SCUGIC_SINGLE_DEVICE_ID

◆ SPI_AD7768_CS

#define SPI_AD7768_CS   0

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   XPAR_PS7_SPI_0_DEVICE_ID

◆ 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