27 #define TDC_CH_ALL_MASK 0x7FFFFFFF
132 uint32_t tdcMultiHitEnabled();
void tdcReset()
Resets the TDC to defaults.
void tdcSetMultiHitEnabled(uint32_t channels)
Sets on which channels the mutli-hit veto must be enabled.
uint32_t tdcDbgBlastFull()
Return Blast full FIFOs bitmask for debugging.
uint32_t tdcChannels()
Returns which TDC channels are enabled/disabled.
void tdcSetMinTot(uint32_t m_tot)
Sets the HR veto rate per time-slice.
static bool tdcChEnabled(int ch)
Returns whether or not a specific TDC channel is enabled or not.
static void tdcChEnable(int ch, bool enable)
Enables or disables a single channel.
void tdcDbgSetBlastFull(uint32_t channels)
Blast full FIFOs bitmask for debugging.
void tdcSetHRVeto(uint32_t thrs)
Sets the Minimun ToT width allowed.
static void tdcEnableAll()
Enables all channels.
uint32_t tdcHRVeto()
Returns the HR-veto rate per time-slice.
#define TDC_CH_ALL_MASK
All channels.
void tdcSetHrvEnabled(uint32_t channels)
Sets on which channels the high-rate veto must be applied.
static void tdcDisableAll()
Disables all channels.
uint32_t tdcHrvEnabled()
Returns on which channels the high-rate veto is applied.
void tdcSetChannels(uint32_t channels, uint32_t mask)
Set the enable/disable channels.