can't use TIM21 as pulse counter STM32L051
I try to count pulses from PA1 as TIM21_ETR, seems like all setting is OK, but no counting what soever. What am I missing?Thanks/* TIM21 init function */ void MX_TIM21_Init(void) { TIM_ClockConfigTypeDef sClockSourceConfig; TIM_MasterConfigTypeDe...