2019-09-18 12:49 PM
2019-09-18 03:02 PM
Use an EXTI interrupt on the pin, and the HAL Tick counter?
Use a TIM in input capture, and large prescaler?