no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef __PARAMETERS_H__
41 #define __PARAMETERS_H__
42 
43 /******************************************************************************/
44 /***************************** Include Files **********************************/
45 /******************************************************************************/
46 #include "xilinx_spi.h"
47 #include <xparameters.h>
48 
49 /******************************************************************************/
50 /********************** Macros and Constants Definitions **********************/
51 /******************************************************************************/
52 #define SPI_DEVICE_ID 0U
53 #define SPI_OPS &xil_spi_ops
54 
55 #ifdef IIO_SUPPORT
56 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
57 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
58 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
59 #define UART_BAUDRATE 115200
60 #endif
61 
62 extern struct xil_spi_init_param spi_extra;
63 
64 #endif
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:78
xilinx_spi.h
spi_extra
struct xil_spi_init_param spi_extra
Definition: ad5758_sdz.c:59