void SysTick_Handler( void ) { // Handle virtual timers cmn_virtual_timer_cb(); // Handle system timer call cmn_systimer_periodic(); }
void SysTick_Handler( void ) { // Handle virtual timers cmn_virtual_timer_cb(); #ifdef BUILD_MMCFS disk_timerproc(); #endif }
static void tmr_int_handler( unsigned id ) { TIM_TypeDef *base = ( TIM_TypeDef* )timer[ id ]; if (TIM_GetITStatus( base, TIM_IT_CC1) != RESET) { TIM_ClearITPendingBit( base, TIM_IT_CC1 ); if( id == VTMR_TIMER_ID ) cmn_virtual_timer_cb(); else cmn_int_handler( INT_TMR_MATCH, id ); if( stm32_timer_int_periodic_flag[ id ] != PLATFORM_TIMER_INT_CYCLIC ) TIM_ITConfig( base, TIM_IT_CC1, DISABLE ); } }
static void tmr_match_common_handler( int id ) { volatile avr32_tc_t *tc = &AVR32_TC; tc_read_sr( tc, id ); // clear interrupt #if VTMR_NUM_TIMERS > 0 if( id == VTMR_CH ) { cmn_virtual_timer_cb(); platform_eth_timer_handler(); platform_cdc_timer_handler(); } else #endif cmn_int_handler( INT_TMR_MATCH, id ); if( avr32_timer_int_periodic_flag[ id ] != PLATFORM_TIMER_INT_CYCLIC ) { tc->channel[ id ].IDR.cpcs = 1; tc->channel[ id ].CMR.waveform.wavsel = TC_WAVEFORM_SEL_UP_MODE; } }
static void int_handler_tmr() { T3IR = 1; // clear interrupt cmn_virtual_timer_cb(); VICVectAddr = 0; // ACK interrupt }
void __isr_tc2_helper() { cmn_virtual_timer_cb(); AT91C_BASE_TC2->TC_SR; }