Function sc_tdc_set_pulsegen_config¶
Defined in File scTDC.h
Function Documentation¶
-
int sc_tdc_set_pulsegen_config(int dev_desc, int period, int length)¶
Set the configuration of the pulse generator output that is available on some TDC models.
- Parameters
dev_desc – device descriptor
period – the period of the pulse pattern in FPGA clock cycles, 0 or 1 means off
length – the length of the pulse in FPGA clock cycles
- Returns
0 if success, negative error code in case of failure