Timer external clock with interrupt
I have connected an external clock to TIM1 and I want to count the values where the counter register is overflow with interrupt. My code is like this, but it doesn't work. TIM_ICInitStructure.TIM_Channel = TIM_Channel_2; TIM_ICInitStructure.TIM_ICP...