Introduction - If you have any usage issues, please Google them yourself
STM32 timer pin input capture function for the acquisition of the external pulse number, this code is only collected the number of pulses, accurate, friend came down to see used to detect the number of encoder and PWM pulse