no-OS
Macros | Variables
parameters.h File Reference

Definitions specific to XILINX platform used by eval-adxl367z project. More...

#include "xilinx_spi.h"
#include "xilinx_gpio.h"
#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 BUF_LENGTH   32U
 
#define SPI_DEVICE_ID   XPAR_PS7_SPI_0_DEVICE_ID
 
#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID
 
#define SPI_OPS   &xil_spi_ops
 
#define GPIO_OPS   &xil_gpio_ops
 
#define GPIO_OFFSET   54U
 
#define RDY_PIN   GPIO_OFFSET + 32U
 
#define SYNC_PIN   GPIO_OFFSET + 33U
 

Variables

struct xil_spi_init_param spi_extra
 
struct xil_gpio_init_param gpio_extra
 

Detailed Description

Definitions specific to XILINX platform used by eval-adxl367z project.

Author
Andrei Porumb (andre.nosp@m.i.po.nosp@m.rumb@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2022(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:

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.

Macro Definition Documentation

◆ BUF_LENGTH

#define BUF_LENGTH   32U

◆ GPIO_DEVICE_ID

#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID

◆ GPIO_OFFSET

#define GPIO_OFFSET   54U

◆ GPIO_OPS

#define GPIO_OPS   &xil_gpio_ops

◆ RDY_PIN

#define RDY_PIN   GPIO_OFFSET + 32U

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   XPAR_PS7_SPI_0_DEVICE_ID

◆ SPI_OPS

#define SPI_OPS   &xil_spi_ops

◆ SYNC_PIN

#define SYNC_PIN   GPIO_OFFSET + 33U

Variable Documentation

◆ gpio_extra

struct xil_gpio_init_param gpio_extra

◆ spi_extra

struct xil_spi_init_param spi_extra