/* * * This work is supported by Department of Energy * contract DE-AC03-76SF00515. * * Robert Steele * Klystron Department * Stanford Linear Accelerator Center (SLAC) * */ #ifndef PLL_MACROS_H #define PLL_MACROS_H #define LOCAL static #ifndef OK #define OK (0) #endif #ifndef ERROR #define ERROR (-1) #endif #ifndef NULL #define NULL ('\0') #endif #define PLL_FIFO_SIZE (1<<14) /* The number of 16 bit words in 1 FIFO */ #define PLL_BUFFER_SIZE (2048) /* waveform types */ #define PLL_RawWaveform (0) #define PLL_TrackingBuffer (1) #define PLL_Memory_read (2) #define PLL_hardware_image (3) #endif