no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef PARAMETERS_H
35 #define PARAMETERS_H
36 
37 /******************************************************************************/
38 /********************** Macros and Constants Definitions **********************/
39 /******************************************************************************/
40 
41 #define SPI_DEVICE_ID XPAR_PS7_SPI_0_DEVICE_ID
42 #define AD5758_SPI_CS 0
43 #define GPIO_DEVICE_ID XPAR_PS7_GPIO_0_DEVICE_ID
44 #define GPIO_OFFSET 86U
45 #define GPIO_DAC_FAULT_N GPIO_OFFSET + 2
46 #define GPIO_DAC_RESET_N GPIO_OFFSET + 1
47 #define GPIO_DAC_LDAC_N GPIO_OFFSET
48 
49 #endif