Seemingly stm32 do external input counter is difficult, the early on STM32F103C8TX, a lot of trouble when later because of the power consumption and internal ADC error problem, use STM32L151C8TX, don't want to debug for 2 days, counter also didn't work,
Excuse me each warrior who know the problem? Thank you very much!