no-OS
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 <xparameters.h>
42 
43 /******************************************************************************/
44 /********************** Macros and Constants Definitions **********************/
45 /******************************************************************************/
46 #define SPI_DEVICE_ID 0U
47 #define SPI_OPS &xil_spi_ops
48 
49 #ifdef IIO_SUPPORT
50 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
51 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
52 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
53 #define UART_BAUDRATE 115200
54 #endif
55 
56 extern struct xil_spi_init_param spi_extra;
57 
58 #endif
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
xilinx_spi.h
spi_extra
struct xil_spi_init_param spi_extra
Definition: ad5758_sdz.c:53