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