Motor is turned off automatically during PWM off ( or LOW ) periods ...

just sample and hold during this moment.

that's how all ESCs current limiting devices work ... they just sample the power mosfets voltage loss ( = Intensity * Rds ON ... ), and compare with a reference.

Here, the "free running" ( PWM LOW state ... ) voltage of your motor is proportionnal to the rotor speed ...

That's all !!!