RSBJEUM0001-0101 Rev. 1.01
33
g_PreDltCnt = s_DltCnt
g_SpeedTgt > 0&&g_DltCntRef<
g_PreDltCnt
No
g_P 1
RTS
Yes
No
No
1
g_ReloadCnt = s_DltCnt >> 1
s_DltCnt = 0
Yes
g_SpeedTgt > 0&&g_DltCntRef>
g_PreDltCnt
g_PWMDuty - 1
g_PWMDuty >M_Max_PWM _duty?
g_PWMDuty =M_Max_PWM _duty
Yes
g_PWMDuty <M_Min_PWM _duty?
g_PWMDuty =M_Min_PWM _duty
Yes
No
Save current PWM duty and actual rotation
speed