/*============================================================================= Name: drvBeamChargeCF.h Abs: Function prototypes used by device support for Beam Charge CF driver. Auth: 16-nov-2005, Dayle Kotturi (dayle): Initial version for LLRF PAD -----------------------------------------------------------------------------*/ #include "copyright_SLAC.h" /* SLAC copyright comments */ /*----------------------------------------------------------------------------- Mod: (newest to oldest) 18-jan-2007, Dayle Kotturi: Adapted for BeamChargeCFApp =============================================================================*/ #ifndef DRV_BCC_H #define DRV_BCC_H #include "BeamChargeCFMacros.h" #include LOCAL int bccOperationMode = BCC_STARTING; LOCAL int bccCalibrationControl = BCC_CAL_IDLE; int bccInitialise(void); int bccInitialiseIntr(void); int bccReport(int interest); int bccGetIntrCount(void); int bccGetScanIOCount(void); int bccGetNumShortsRead(int channel); int bccGetNumShortsToRead(int channel); short *bccGetSignal(int channel); int bccGetSampleOffset(int channel); int bccSetSampleOffset(int channel, int offset); int bccGetSampleSize(int channel); int bccSetSampleSize(int channel, int size); int bccSetOperationMode(int mode); int bccSetCalibrationControl(int calibrationControl); int bccEnableIntr(void); int bccDisableIntr(void); int bccSoftTrigger(void); int bccCalibration(void); int bccDumpCalDataToFile(void); /* used by devWaveform */ int bccGetIntrCount(); int bccGetOverflowCount(); #ifdef SCANIO int bccGetScanIOCount(); IOSCANPVT bccGetIoScanPvt(void); /* needed by dev*Bcc.c */ #endif /* debug routines used by debug device support. not used in ops */ int bccToggleIRQ5(void); #endif