Browse Source

update

master
zhaohe 1 year ago
parent
commit
b6be16543b
  1. 8
      xsync.cpp

8
xsync.cpp

@ -634,17 +634,17 @@ xs_error_code_t Xsync::RecordSigGenerator_getExternalTTLTriggerPolarity(uint32_t
return _reg_read(reg::record_sig_gen_ttlin_trigger_level, polarity);
}
xs_error_code_t Xsync::RecordSigGenerator_setRecordExposureTime(uint32_t us) { //
return reg_write(reg::record_sig_gen_exposure_time, 10 * us);
return reg_write(reg::record_sig_gen_exposure_time, us);
}
xs_error_code_t Xsync::RecordSigGenerator_getRecordExposureTime(uint32_t &us) {
auto ret = reg_read(reg::record_sig_gen_exposure_time, us);
us = us / 10;
// us = us / 10;1
return ret;
}
xs_error_code_t Xsync::RecordSigGenerator_setRecordExposureOffsetTime(uint32_t us) { return reg_write(reg::record_sig_gen_exposure_offset_time, 10 * us); }
xs_error_code_t Xsync::RecordSigGenerator_setRecordExposureOffsetTime(uint32_t us) { return reg_write(reg::record_sig_gen_exposure_offset_time, us); }
xs_error_code_t Xsync::RecordSigGenerator_getRecordExposureOffsetTime(uint32_t &us) {
auto ret = reg_read(reg::record_sig_gen_exposure_offset_time, us);
us = us / 10;
// us = us / 10;
return ret;
}
xs_error_code_t Xsync::RecordSigGenerator_setTimecodeCtrlFlag(uint32_t autoStart, uint32_t autoStop) { //

Loading…
Cancel
Save