no-OS
projects
ad719x
src
platform
xilinx
parameters.h
Go to the documentation of this file.
1
/***************************************************************************/
34
#ifndef __PARAMETERS_H__
35
#define __PARAMETERS_H__
36
37
/******************************************************************************/
38
/***************************** Include Files **********************************/
39
/******************************************************************************/
40
#include "
xilinx_spi.h
"
41
#include "
xilinx_gpio.h
"
42
#include "xparameters.h"
43
44
/******************************************************************************/
45
/********************** Macros and Constants Definitions **********************/
46
/******************************************************************************/
47
#define BUF_LENGTH 32U
48
#define SPI_DEVICE_ID XPAR_PS7_SPI_0_DEVICE_ID
49
#define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
50
#define SPI_OPS &xil_spi_ops
51
#define GPIO_OPS &xil_gpio_ops
52
#define GPIO_OFFSET 54U
53
54
#define RDY_PIN GPIO_OFFSET + 32U
55
#define SYNC_PIN GPIO_OFFSET + 33U
56
57
extern
struct
xil_spi_init_param
spi_extra
;
58
extern
struct
xil_gpio_init_param
gpio_extra
;
59
60
#endif //__PARAMETERS_H__
xilinx_gpio.h
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition:
xilinx_spi.h:72
gpio_extra
struct xil_gpio_init_param gpio_extra
Definition:
ad5758_sdz.c:67
xil_gpio_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition:
xilinx_gpio.h:64
xilinx_spi.h
spi_extra
struct xil_spi_init_param spi_extra
Definition:
ad5758_sdz.c:53
Generated by
1.8.17