6.3.3 HLT TMR 2 ISR
If a missing Hall pulse is detected in a period of time and the PR2 matched, the
TMR2 flag is set. The motor operation is changed into a Stall state, triggering the
motor to stop by calling the stopMotor()
function and disabling the
interrupts.