/****************************************************************************** * Module: Llrf fcom * Filename: fcomLlrf.h * Author: Shantha Condamoor * Created: 24-Feb-2014 * Description: * Fcom related to LLRF Readback FCOM PV processing ******************************************************************************/ #ifndef FCOM_BLM_H #define FCOM_BLM_H #include #include #include "drvLlrfPad.h" typedef struct { float pavg; float aavg; } FcomBlobLlrfData_t; #define NUM_AVG_FCOM_DATA 2 /* fcom id for (station, channel) */ #define NUM_SECTIONS 1 /* DMP1=0, LI24=1, LI21=2, IN20=3 . Currently only DMP1 is supported */ #define NUM_DEVICES 1 /* Currently DMP1 IOC supports only one device TCAV:DMP1:360 */ int fcomLlrfInit(void); void fcomLlrfProc(LlrfStation station, double pavg, double aavg); /* Section; set by startup script */ extern int gLlrfSection; void llrfFcomTask(void *arg); #endif