page1
Update statistic data
ISR: Timer Expired
End
Restart timer interrupt
Just done mark?
Yes
No
Set space period
Set mark period
Stop timer interrupt
Set BLDC space
Set BLDC mark