zhaohe 10 months ago
parent
commit
ab3ac7c629
  1. 2
      .gitignore
  2. 58
      CMakeLists.txt.user
  3. BIN
      IFlytopLTC/D3Dcompiler_47.dll
  4. BIN
      IFlytopLTC/Qt5Core.dll
  5. BIN
      IFlytopLTC/Qt5Gui.dll
  6. BIN
      IFlytopLTC/Qt5SerialPort.dll
  7. BIN
      IFlytopLTC/Qt5SerialPortd.dll
  8. BIN
      IFlytopLTC/Qt5Widgets.dll
  9. BIN
      IFlytopLTC/iconengines/qsvgicond.dll
  10. BIN
      IFlytopLTC/imageformats/qgifd.dll
  11. BIN
      IFlytopLTC/imageformats/qicnsd.dll
  12. BIN
      IFlytopLTC/imageformats/qicod.dll
  13. BIN
      IFlytopLTC/imageformats/qjpegd.dll
  14. BIN
      IFlytopLTC/imageformats/qsvgd.dll
  15. BIN
      IFlytopLTC/imageformats/qtgad.dll
  16. BIN
      IFlytopLTC/imageformats/qtiffd.dll
  17. BIN
      IFlytopLTC/imageformats/qwbmpd.dll
  18. BIN
      IFlytopLTC/imageformats/qwebpd.dll
  19. BIN
      IFlytopLTC/libEGLd.dll
  20. BIN
      IFlytopLTC/libgcc_s_seh-1.dll
  21. BIN
      IFlytopLTC/libstdc++-6.dll
  22. BIN
      IFlytopLTC/libwinpthread-1.dll
  23. BIN
      IFlytopLTC/platforms/qdirect2d.dll
  24. BIN
      IFlytopLTC/platforms/qminimal.dll
  25. BIN
      IFlytopLTC/platforms/qoffscreen.dll
  26. BIN
      IFlytopLTC/platforms/qwebgl.dll
  27. BIN
      IFlytopLTC/platforms/qwindows.dll
  28. BIN
      IFlytopLTC/platforms/qwindowsd.dll
  29. BIN
      IFlytopLTC/styles/qwindowsvistastyled.dll
  30. 3
      README.md
  31. 8
      mainwindow.cpp
  32. 732
      mainwindow.ui
  33. 12
      src/camera_light_src_timing_controller/clst_controler.cpp
  34. 4
      src/camera_light_src_timing_controller/clst_controler.hpp
  35. 16
      src/camera_light_src_timing_controller/reginfo.cpp
  36. 2
      src/version.h
  37. 2
      zaf_protocol
  38. BIN
      单文件制作_x64.exe

2
.gitignore

@ -68,6 +68,6 @@ Thumbs.db
# Binaries
# --------
*.dll
build

58
CMakeLists.txt.user

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 5.0.2, 2024-04-29T19:17:09. -->
<!-- Written by QtCreator 5.0.2, 2024-10-19T15:52:07. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
@ -94,56 +94,10 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.12.12 MinGW 64-bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.12.12 MinGW 64-bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.51212.win64_mingw73_kit</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">2</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
<value type="QString" key="CMake.Build.Type">Debug</value>
<value type="QString" key="CMake.Initial.Parameters">-GMinGW Makefiles
-DCMAKE_BUILD_TYPE:STRING=Debug
-DCMAKE_PROJECT_INCLUDE_BEFORE:PATH=%{IDE:ResourcePath}/package-manager/auto-setup.cmake
-DQT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable}
-DCMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX}
-DCMAKE_C_COMPILER:STRING=%{Compiler:Executable:C}
-DCMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx}</value>
<value type="QString" key="CMake.Source.Directory">D:/workspace/p_camera_light_source_timing_controller/camera_light_src_timing_controller_pc</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/workspace/p_camera_light_source_timing_controller/build-camera_light_src_timing_controller_pc-Desktop_Qt_5_12_12_MinGW_64_bit-Debug</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString">all</value>
</valuelist>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString">clean</value>
</valuelist>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeBuildConfiguration</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
<value type="QString" key="CMake.Build.Type">MinSizeRel</value>
<value type="QString" key="CMake.Initial.Parameters">-GMinGW Makefiles
-DCMAKE_BUILD_TYPE:STRING=MinSizeRel
@ -188,7 +142,7 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Minimum Size Release</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeBuildConfiguration</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
<value type="QString" key="CMake.Build.Type">Release</value>
<value type="QString" key="CMake.Initial.Parameters">-GMinGW Makefiles
-DCMAKE_BUILD_TYPE:STRING=Release
@ -197,7 +151,7 @@
-DCMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX}
-DCMAKE_C_COMPILER:STRING=%{Compiler:Executable:C}
-DCMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx}</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\workspace\p_camera_light_source_timing_controller\build-camera_light_src_timing_controller_pc-Desktop_Qt_5_12_12_MinGW_64_bit-Release</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/zfpge_workspace/p_camera_light_source_timing_controller/camera_light_src_timing_controller_pc/build</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
@ -233,7 +187,7 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeBuildConfiguration</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
@ -262,7 +216,7 @@
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">D:/workspace/p_camera_light_source_timing_controller/build-camera_light_src_timing_controller_pc-Desktop_Qt_5_12_12_MinGW_64_bit-Release</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">D:/zfpge_workspace/p_camera_light_source_timing_controller/camera_light_src_timing_controller_pc/build</value>
</valuemap>
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>

BIN
IFlytopLTC/D3Dcompiler_47.dll

BIN
IFlytopLTC/Qt5Core.dll

BIN
IFlytopLTC/Qt5Gui.dll

BIN
IFlytopLTC/Qt5SerialPort.dll

BIN
IFlytopLTC/Qt5SerialPortd.dll

BIN
IFlytopLTC/Qt5Widgets.dll

BIN
IFlytopLTC/iconengines/qsvgicond.dll

BIN
IFlytopLTC/imageformats/qgifd.dll

BIN
IFlytopLTC/imageformats/qicnsd.dll

BIN
IFlytopLTC/imageformats/qicod.dll

BIN
IFlytopLTC/imageformats/qjpegd.dll

BIN
IFlytopLTC/imageformats/qsvgd.dll

BIN
IFlytopLTC/imageformats/qtgad.dll

BIN
IFlytopLTC/imageformats/qtiffd.dll

BIN
IFlytopLTC/imageformats/qwbmpd.dll

BIN
IFlytopLTC/imageformats/qwebpd.dll

BIN
IFlytopLTC/libEGLd.dll

BIN
IFlytopLTC/libgcc_s_seh-1.dll

BIN
IFlytopLTC/libstdc++-6.dll

BIN
IFlytopLTC/libwinpthread-1.dll

BIN
IFlytopLTC/platforms/qdirect2d.dll

BIN
IFlytopLTC/platforms/qminimal.dll

BIN
IFlytopLTC/platforms/qoffscreen.dll

BIN
IFlytopLTC/platforms/qwebgl.dll

BIN
IFlytopLTC/platforms/qwindows.dll

BIN
IFlytopLTC/platforms/qwindowsd.dll

BIN
IFlytopLTC/styles/qwindowsvistastyled.dll

3
README.md

@ -3,5 +3,6 @@
V14:
修正光源亮度每次提交都会递减的BUG
V18:
添加信号延迟配置功能
```

8
mainwindow.cpp

@ -158,6 +158,7 @@ zaf_error_code_t MainWindow::updatePage() {
{
InternalSig src;
uint32_t delay;
uint32_t width;
uint32_t offset;
float duty;
@ -165,6 +166,7 @@ zaf_error_code_t MainWindow::updatePage() {
#define UPDATE(index) \
src = InternalSig(ui->LightSrcX_TriSrc_##index->currentText().toStdString()); \
delay = ui->LightSrcX_TriggerModePluseDelay_##index->text().toUInt(); \
width = ui->LightSrcX_TriggerModePluseWidth_##index->text().toUInt(); \
offset = ui->LightSrcX_TriggerModeFirstPluseOffset_##index->text().toUInt(); \
duty = ui->LightSrcX_LightIntensityDuty_##index->text().toFloat(); \
@ -172,6 +174,7 @@ zaf_error_code_t MainWindow::updatePage() {
DO(m_clstc->LightSrcX_setTriSrc(index, src)); \
DO(m_clstc->LightSrcX_setTriggerModePluseWidth(index, width)); \
DO(m_clstc->LightSrcX_setTriggerModeFirstPluseOffset(index, offset)); \
DO(m_clstc->LightSrcX_setTriggerModePluseDelay(index, offset)); \
DO(m_clstc->LightSrcX_setLightIntensityDuty(index, duty)); \
DO(m_clstc->LightSrcX_setLightDriverFreq(index, freq));
@ -384,6 +387,7 @@ zaf_error_code_t MainWindow::refreshPage() {
{
InternalSig src;
uint32_t width;
uint32_t delay;
uint32_t offset;
float duty;
float freq;
@ -392,11 +396,13 @@ zaf_error_code_t MainWindow::refreshPage() {
DO(m_clstc->LightSrcX_getTriSrc(index, src)); \
DO(m_clstc->LightSrcX_getTriggerModePluseWidth(index, width)); \
DO(m_clstc->LightSrcX_getTriggerModeFirstPluseOffset(index, offset)); \
DO(m_clstc->LightSrcX_getTriggerModePluseDelay(index, delay)); \
DO(m_clstc->LightSrcX_getLightIntensityDuty(index, duty)); \
DO(m_clstc->LightSrcX_getLightDriverFreq(index, freq)); \
ui->LightSrcX_TriSrc_##index->setCurrentText(QString::fromStdString(src.toString())); \
ui->LightSrcX_TriggerModePluseWidth_##index->setText(QString::number(width)); \
ui->LightSrcX_TriggerModeFirstPluseOffset_##index->setText(QString::number(offset)); \
ui->LightSrcX_TriggerModePluseDelay_##index->setText(QString::number(delay)); \
ui->LightSrcX_LightIntensityDuty_##index->setText(QString::number(duty, 'f', 3)); \
ui->LightSrcX_LightDriverFreq_##index->setText(QString::number(freq, 'f', 2));
@ -917,7 +923,6 @@ void MainWindow::exitProfessionalModel() {
LightSrcX_TriSrc_QStringList.append(QString::fromStdString(InternalSig(InternalSig::EXT_TRIGGER_3).toString()));
LightSrcX_TriSrc_QStringList.append(QString::fromStdString(InternalSig(InternalSig::EXT_TRIGGER_4).toString()));
ui->LightSrcX_TriSrc_1->clear();
ui->LightSrcX_TriSrc_2->clear();
ui->LightSrcX_TriSrc_3->clear();
@ -956,6 +961,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
// qInstallMessageHandler(log_output);
connect(this, SIGNAL(doinui_signal(QFunction)), this, SLOT(doinui_slot(QFunction)));
constructUI();
ui->UpperVersion->setText(QString::number(VERSION));
exitProfessionalModel();
// setWindowIcon(QIcon(QApplication::applicationDirPath() + "/logo.png"));

732
mainwindow.ui
File diff suppressed because it is too large
View File

12
src/camera_light_src_timing_controller/clst_controler.cpp

@ -592,6 +592,12 @@ zaf_error_code_t CLSTControler::LightSrcX_setTriggerModePluseWidth(int32_t index
if (index < 1 || index > 4) return kaf_ec_param_error;
return reg_write(kreg_light_ctrol_module1_trigger_mode_pluse_width + (index - 1) * 32, width * 10); // 0.1us
}
zaf_error_code_t CLSTControler::LightSrcX_setTriggerModePluseDelay(int32_t index, uint32_t width) { //
if (index < 1 || index > 4) return kaf_ec_param_error;
return reg_write(kreg_light_ctrol_module1_trigger_mode_pluse_delay + (index - 1) * 32, width); // 0.1us
}
zaf_error_code_t CLSTControler::LightSrcX_setTriggerModeFirstPluseOffset(int32_t index, uint32_t offset) { //
if (index < 1 || index > 4) return kaf_ec_param_error;
return reg_write(kreg_light_ctrol_module1_trigger_mode_first_pluse_offset + (index - 1) * 32, offset * 10); // 0.1us
@ -647,6 +653,12 @@ zaf_error_code_t CLSTControler::LightSrcX_getTriggerModeFirstPluseOffset(int32_t
offset = val / 10;
return kaf_ec_success;
}
zaf_error_code_t CLSTControler::LightSrcX_getTriggerModePluseDelay(int32_t index, uint32_t &offset) { //
if (index < 1 || index > 4) return kaf_ec_param_error;
uint32_t val;
DO_CMD(reg_read(kreg_light_ctrol_module1_trigger_mode_pluse_delay + (index - 1) * 32, val));
return kaf_ec_success;
}
zaf_error_code_t CLSTControler::LightSrcX_getLightIntensityDuty(int32_t index, float &duty) { //
if (index < 1 || index > 4) return kaf_ec_param_error;
uint32_t freqcnt = 0;

4
src/camera_light_src_timing_controller/clst_controler.hpp

@ -31,7 +31,7 @@ typedef function<void(uart_message_type_t type, uint8_t *data, size_t len)> raw_
class IDataChannel {
public:
virtual ~IDataChannel(){};
virtual ~IDataChannel() {};
virtual bool isOpen() = 0;
virtual bool send(const uint8_t *data, size_t len) = 0;
virtual void regRxListener(function<void(uint8_t *data, size_t len)> cb) = 0;
@ -143,12 +143,14 @@ class CLSTControler {
* *
*******************************************************************************/
zaf_error_code_t LightSrcX_setTriSrc(int32_t index, InternalSig src);
zaf_error_code_t LightSrcX_setTriggerModePluseDelay(int32_t index, uint32_t width);
zaf_error_code_t LightSrcX_setTriggerModePluseWidth(int32_t index, uint32_t width);
zaf_error_code_t LightSrcX_setTriggerModeFirstPluseOffset(int32_t index, uint32_t offset);
zaf_error_code_t LightSrcX_setLightIntensityDuty(int32_t index, float duty);
zaf_error_code_t LightSrcX_setLightDriverFreq(int32_t index, float freq);
zaf_error_code_t LightSrcX_getTriSrc(int32_t index, InternalSig &src);
zaf_error_code_t LightSrcX_getTriggerModePluseDelay(int32_t index, uint32_t &width);
zaf_error_code_t LightSrcX_getTriggerModePluseWidth(int32_t index, uint32_t &width);
zaf_error_code_t LightSrcX_getTriggerModeFirstPluseOffset(int32_t index, uint32_t &offset);
zaf_error_code_t LightSrcX_getLightIntensityDuty(int32_t index, float &duty);

16
src/camera_light_src_timing_controller/reginfo.cpp

@ -153,7 +153,7 @@ using namespace std;
// kreg_light_ctrol_module1_trigger_mode_pluse_interval = REGADDOFF__LIGHT_CTROL_MODULE1 + 5,
// kreg_light_ctrol_module1_trigger_mode_pluse_width = REGADDOFF__LIGHT_CTROL_MODULE1 + 6,
// kreg_light_ctrol_module1_trigger_mode_first_pluse_offset = REGADDOFF__LIGHT_CTROL_MODULE1 + 7,
// kreg_light_ctrol_module1_trigger_mode_output_polarity = REGADDOFF__LIGHT_CTROL_MODULE1 + 8, // 无用
// kreg_light_ctrol_module1_trigger_mode_pluse_delay = REGADDOFF__LIGHT_CTROL_MODULE1 + 8, // 无用
// kreg_light_ctrol_module1_light_intensity_cnt = REGADDOFF__LIGHT_CTROL_MODULE1 + 9,
// kreg_light_ctrol_module1_light_driver_freq_cnt = REGADDOFF__LIGHT_CTROL_MODULE1 + 10,
// kreg_light_ctrol_module1_freq_detect_bias = REGADDOFF__LIGHT_CTROL_MODULE1 + 12,
@ -169,7 +169,7 @@ using namespace std;
// kreg_light_ctrol_module2_trigger_mode_pluse_interval = REGADDOFF__LIGHT_CTROL_MODULE2 + 5,
// kreg_light_ctrol_module2_trigger_mode_pluse_width = REGADDOFF__LIGHT_CTROL_MODULE2 + 6,
// kreg_light_ctrol_module2_trigger_mode_first_pluse_offset = REGADDOFF__LIGHT_CTROL_MODULE2 + 7,
// kreg_light_ctrol_module2_trigger_mode_output_polarity = REGADDOFF__LIGHT_CTROL_MODULE2 + 8,
// kreg_light_ctrol_module2_trigger_mode_pluse_delay = REGADDOFF__LIGHT_CTROL_MODULE2 + 8,
// kreg_light_ctrol_module2_light_intensity_cnt = REGADDOFF__LIGHT_CTROL_MODULE2 + 9,
// kreg_light_ctrol_module2_light_driver_freq_cnt = REGADDOFF__LIGHT_CTROL_MODULE2 + 10,
// kreg_light_ctrol_module2_freq_detect_bias = REGADDOFF__LIGHT_CTROL_MODULE2 + 12,
@ -185,7 +185,7 @@ using namespace std;
// kreg_light_ctrol_module3_trigger_mode_pluse_interval = REGADDOFF__LIGHT_CTROL_MODULE3 + 5,
// kreg_light_ctrol_module3_trigger_mode_pluse_width = REGADDOFF__LIGHT_CTROL_MODULE3 + 6,
// kreg_light_ctrol_module3_trigger_mode_first_pluse_offset = REGADDOFF__LIGHT_CTROL_MODULE3 + 7,
// kreg_light_ctrol_module3_trigger_mode_output_polarity = REGADDOFF__LIGHT_CTROL_MODULE3 + 8,
// kreg_light_ctrol_module3_trigger_mode_pluse_delay = REGADDOFF__LIGHT_CTROL_MODULE3 + 8,
// kreg_light_ctrol_module3_light_intensity_cnt = REGADDOFF__LIGHT_CTROL_MODULE3 + 9,
// kreg_light_ctrol_module3_light_driver_freq_cnt = REGADDOFF__LIGHT_CTROL_MODULE3 + 10,
// kreg_light_ctrol_module3_freq_detect_bias = REGADDOFF__LIGHT_CTROL_MODULE3 + 12,
@ -201,7 +201,7 @@ using namespace std;
// kreg_light_ctrol_module4_trigger_mode_pluse_interval = REGADDOFF__LIGHT_CTROL_MODULE4 + 5,
// kreg_light_ctrol_module4_trigger_mode_pluse_width = REGADDOFF__LIGHT_CTROL_MODULE4 + 6,
// kreg_light_ctrol_module4_trigger_mode_first_pluse_offset = REGADDOFF__LIGHT_CTROL_MODULE4 + 7,
// kreg_light_ctrol_module4_trigger_mode_output_polarity = REGADDOFF__LIGHT_CTROL_MODULE4 + 8,
// kreg_light_ctrol_module4_trigger_mode_pluse_delay = REGADDOFF__LIGHT_CTROL_MODULE4 + 8,
// kreg_light_ctrol_module4_light_intensity_cnt = REGADDOFF__LIGHT_CTROL_MODULE4 + 9,
// kreg_light_ctrol_module4_light_driver_freq_cnt = REGADDOFF__LIGHT_CTROL_MODULE4 + 10,
// kreg_light_ctrol_module4_freq_detect_bias = REGADDOFF__LIGHT_CTROL_MODULE4 + 12,
@ -321,7 +321,7 @@ static map<uint32_t, Reginfo> reginfo_map = {
{kreg_light_ctrol_module1_trigger_mode_pluse_interval, {}},
{kreg_light_ctrol_module1_trigger_mode_pluse_width, {}},
{kreg_light_ctrol_module1_trigger_mode_first_pluse_offset, {}},
{kreg_light_ctrol_module1_trigger_mode_output_polarity, {}},
{kreg_light_ctrol_module1_trigger_mode_pluse_delay, {}},
{kreg_light_ctrol_module1_light_intensity_cnt, {}},
{kreg_light_ctrol_module1_light_driver_freq_cnt, {}},
{kreg_light_ctrol_module1_freq_detect_bias, {}},
@ -336,7 +336,7 @@ static map<uint32_t, Reginfo> reginfo_map = {
{kreg_light_ctrol_module2_trigger_mode_pluse_interval, {}},
{kreg_light_ctrol_module2_trigger_mode_pluse_width, {}},
{kreg_light_ctrol_module2_trigger_mode_first_pluse_offset, {}},
{kreg_light_ctrol_module2_trigger_mode_output_polarity, {}},
{kreg_light_ctrol_module2_trigger_mode_pluse_delay, {}},
{kreg_light_ctrol_module2_light_intensity_cnt, {}},
{kreg_light_ctrol_module2_light_driver_freq_cnt, {}},
{kreg_light_ctrol_module2_freq_detect_bias, {}},
@ -351,7 +351,7 @@ static map<uint32_t, Reginfo> reginfo_map = {
{kreg_light_ctrol_module3_trigger_mode_pluse_interval, {}},
{kreg_light_ctrol_module3_trigger_mode_pluse_width, {}},
{kreg_light_ctrol_module3_trigger_mode_first_pluse_offset, {}},
{kreg_light_ctrol_module3_trigger_mode_output_polarity, {}},
{kreg_light_ctrol_module3_trigger_mode_pluse_delay, {}},
{kreg_light_ctrol_module3_light_intensity_cnt, {}},
{kreg_light_ctrol_module3_light_driver_freq_cnt, {}},
{kreg_light_ctrol_module3_freq_detect_bias, {}},
@ -366,7 +366,7 @@ static map<uint32_t, Reginfo> reginfo_map = {
{kreg_light_ctrol_module4_trigger_mode_pluse_interval, {}},
{kreg_light_ctrol_module4_trigger_mode_pluse_width, {}},
{kreg_light_ctrol_module4_trigger_mode_first_pluse_offset, {}},
{kreg_light_ctrol_module4_trigger_mode_output_polarity, {}},
{kreg_light_ctrol_module4_trigger_mode_pluse_delay, {}},
{kreg_light_ctrol_module4_light_intensity_cnt, {}},
{kreg_light_ctrol_module4_light_driver_freq_cnt, {}},
{kreg_light_ctrol_module4_freq_detect_bias, {}},

2
src/version.h

@ -1,4 +1,4 @@
#pragma once
#define VERSION 17
#define VERSION 18
#define MAUFACTURER "iflytop"

2
zaf_protocol

@ -1 +1 @@
Subproject commit 6f94a41f67b7993bde43349268ef71f21d668aab
Subproject commit 54527389fb8f81bb68112c3b09c5e84eb6fe76e8

BIN
单文件制作_x64.exe

Loading…
Cancel
Save