Example #1
0
void TIM3_IRQHandler(void)      //----TIM4 IRQ------// 
{
#ifdef USE_TIMER3
	TIM_ClearITPendingBit(TIM3, TIM_FLAG_Update);
	Timer3_IRQ();
#endif	
	
#ifdef USE_CAPTURE_TIM3
	pICP3->IRQ();
#endif
}
Example #2
0
void TIM3_IRQHandler(void)
{
	if (TIM_GetITStatus(TIM3, TIM_IT_Update) != RESET)  //检查TIM3更新中断发生与否
	{
		TIM_ClearITPendingBit(TIM3, TIM_IT_Update);  //清除TIM3更新中断标志 
#if USE_SERVE
		Timer3_IRQ();
#endif
	}

#if USE_CAPTURE
	if (pTimer3)
		pTimer3->IRQ();
#endif

}