|
|
@ -253,6 +253,7 @@ uint32_t CLSTControler::reg_read_v2(uint32_t regadd) { |
|
|
|
reg_read(regadd, regvalue, 30); |
|
|
|
return regvalue; |
|
|
|
} |
|
|
|
void CLSTControler::setAllShawdowRegDirty() { RegInfo_Reset(); } |
|
|
|
|
|
|
|
zaf_error_code_t CLSTControler::_reg_read(uint32_t regadd, uint32_t ®value, int32_t overtime_ms) { |
|
|
|
lock_guard<mutex> lock(m_tx_lock); |
|
|
@ -629,6 +630,7 @@ zaf_error_code_t CLSTControler::LightSrcX_getLightIntensityDuty(int32_t index, f |
|
|
|
DO_CMD(reg_read(kreg_light_ctrol_module1_light_intensity_cnt + (index - 1) * 32, cnt)); |
|
|
|
|
|
|
|
duty = (cnt * 100.0 / freqcnt); |
|
|
|
|
|
|
|
return kaf_ec_success; |
|
|
|
} |
|
|
|
zaf_error_code_t CLSTControler::LightSrcX_getLightDriverFreq(int32_t index, float &freq) { //
|
|
|
|