Simple 32F417 TIM1 usage to measure TIM1_CH1 pulse duration
I have PE9 as an input, and using AF1, PE9 should be connecting to TIM1_CH1 input.Input is 400Hz square wave, 0 to +3.3V.This is the code// Set up TIM1 for ~400Hz waveform period measurement, via PE9 static void KDE_config_TIM1_period_measure(void) {...