mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
ctb server: sync clk get added
This commit is contained in:
Binary file not shown.
@ -799,6 +799,8 @@ int getSpeed(enum speedVariable ind, int mode) {
|
||||
return getFrequency(ADC_CLK);
|
||||
case DBIT_CLOCK:
|
||||
return getFrequency(DBIT_CLK);
|
||||
case SYNC_CLOCK:
|
||||
return getFrequency(SYNC_CLK);
|
||||
case CLOCK_DIVIDER:
|
||||
return getFrequency(RUN_CLK);
|
||||
case ADC_PIPELINE:
|
||||
|
@ -146,6 +146,7 @@ const char* getSpeedName(enum speedVariable ind) {
|
||||
case DBIT_PIPELINE: return "dbit_pipeline";
|
||||
case MAX_ADC_PHASE_SHIFT: return "max_adc_phase_shift";
|
||||
case MAX_DBIT_PHASE_SHIFT: return "max_dbit_phase_shift";
|
||||
case SYNC_CLOCK: return "sync_clock";
|
||||
default: return "unknown_speed";
|
||||
}
|
||||
}
|
||||
@ -1976,6 +1977,7 @@ int set_speed(int file_des) {
|
||||
case MAX_DBIT_PHASE_SHIFT:
|
||||
case ADC_CLOCK:
|
||||
case DBIT_CLOCK:
|
||||
case SYNC_CLOCK:
|
||||
case CLOCK_DIVIDER:
|
||||
case ADC_PIPELINE:
|
||||
case DBIT_PIPELINE:
|
||||
@ -1986,6 +1988,7 @@ int set_speed(int file_des) {
|
||||
case MAX_DBIT_PHASE_SHIFT:
|
||||
case ADC_CLOCK:
|
||||
case DBIT_CLOCK:
|
||||
case SYNC_CLOCK:
|
||||
case CLOCK_DIVIDER:
|
||||
case ADC_PIPELINE:
|
||||
case DBIT_PIPELINE:
|
||||
|
Reference in New Issue
Block a user