#ifndef BPM_PRIVATE_FID_PROCESS_H #define BPM_PRIVATE_FID_PROCESS_H #include #ifdef __cplusplus extern "C" { #endif void fidTimeInstall_BPM(void); /* Declare active timeslots on which beam is expected. This * is qualified by the MOD5[drvBpmFidTimeBeamAcquireMask]. I.e., * beam is assumed to be present during the active timeslots IF * MOD5[drvBpmFidTimeBeamAcquireMask] is also set. * * PARAMETER: 'active_timeslots' is a bitmask (OR of * TIMESLOT1_MASK .. TIMESLOT6_MASK from evrPattern.h). * * NOTE: If this routine is never called then the default * is (TIMESLOT1_MASK | TIMESLOT4_MASK) for sake of * backwards compatibility. */ void drvBpmFidTimeSetActiveTimeslots(unsigned active_timeslots); /* Declare beam acquisition bits for which beam is expected. This * is qualified by the MOD2[drvBpmFidTimeActiveTimeslotMask] bit. * I.e., beam is assumed to be present when one of these bits is set * IF MOD2[drvBpmFidTimeActiveTimeslotMask] is also set. * * PARAMETER: 'beam_acquire' is a bitmask (OR of bits in * MOD5_ACQ_MASK from evrPattern.h) * * NOTE: If this routine is never called then the default * is MOD5_BEAMFULL_MASK for sake of backwards * compatibility. */ void drvBpmFidTimeSetBeamAcquireMask(unsigned beam_acquire); extern volatile int fidProcessThisTimeslot; #ifdef __cplusplus }; #endif #endif