TIM4_IRQHandler() #ifdef __cplusplus extern "C" { #endif void TIM4_IRQHandler(void) { //Measuring RPM frequency if (TIM_GetITStatus(TIM4, TIM_IT_Update) != RESET) { static uint16_t ICValue1 = 0, ICValue2 = 0; TIM_ClearITPendingBit(TIM4, TIM_IT_CC3); if (pulse == 0) { ...