示例#1
0
void _bsp_timer_isr
   (
      void   *dummy
   )
{ /* Body */

   // Acknowlege the interrupt to clear it
   _pit_clear_int(BSP_TIMER);

   _time_notify_kernel();

} /* Endbody */
示例#2
0
void _bsp_timer_isr
   (
      pointer dummy
   )
{ /* Body */

   /* Acknowlege the interrupt to clear it */
   _mcf5301_timer_clear_int(BSP_TIMER);

   _time_notify_kernel();

} /* Endbody */
示例#3
0
/*ISR*********************************************************************
*
* Function Name    : _bsp_decrementer_isr
* Returned Value   : void
* Comments         :
*    The decrementer ISR.  Needed because the decrementer WILL interrupt
*
*END**********************************************************************/
void _e300_decrementer_isr
   (
      pointer dummy
   )
{ 
   KERNEL_DATA_STRUCT_PTR  kernel_data;
   uint_32 preload;

   _GET_KERNEL_DATA(kernel_data);
   preload = kernel_data->TIMER_HW_REFERENCE;
 //  _PSP_SPR_SET(E300CORE_DEC,preload);

   _time_notify_kernel();
}
示例#4
0
void _mpc512x_gpt_isr
   (
      pointer channel
   )
{ /* Body */
   MPC5125_GPT_CHANNEL_STRUCT_PTR   chan_ptr;
   
   chan_ptr = _mpc512x_gpt_channel_address((uint_32)channel);
   
   /* Clear Satus Register */
   chan_ptr->SR = MPC5125_GPT_SR_CLEAR_ALL;

   _time_notify_kernel();
} 
示例#5
0
void _bsp_timer_isr
   (
      pointer dummy
   )
{ /* Body */
#if BSP_WATCHDOG_INITIALIZATION != BSP_WATCHDOG_DISABLED
   // Service the watchdog timer to verify we are still in control
   VMCF5225_STRUCT_PTR reg_ptr = _PSP_GET_IPSBAR();
   reg_ptr->SCM.CWSR = 0x55;
   reg_ptr->SCM.CWSR = 0xAA;
#endif

   _mcf5225_timer_clear_int(BSP_TIMER);
   _time_notify_kernel();

} /* Endbody */
示例#6
0
/*ISR*********************************************************************
*
* Function Name    : _bsp_timer_isr
* Returned Value   : void
* Comments         :
*    The timer ISR is the interrupt handler for the clock tick.
*
*END**********************************************************************/
void _bsp_timer_isr
   (
      pointer dummy
   )
{ /* Body */
 
#if BSP_WATCHDOG_INITIALIZATION != BSP_WATCHDOG_DISABLED
   // Service the watchdog timer to verify we are still in control
   // TODO - Not supported yet
#endif
   
   _mcf51EM_timer_clear_int(BSP_TIMER);

   /* apply sw prescaller - do not react on every timer isr */
   if(_bsp_timer_sw_prescaller_check() == TRUE){
      _time_notify_kernel();
   }
   
} /* Endbody */
示例#7
0
/*
** ===================================================================
**     Method      :  MQX1_OnCounterRestart (component MQXLite)
**
**     Description :
**         This method is internal. It is used by Processor Expert only.
** ===================================================================
*/
void SystemTimer1_OnCounterRestart(LDD_TUserData *UserDataPtr)
{
    _time_notify_kernel();
}
示例#8
0
void _bsp_systick(pointer dummy) {
    _time_notify_kernel();
}
示例#9
0
static void _e200_decrementer_kernel_isr(pointer dummy)
{
   _PSP_SPR_SET(E200CORE_TSR, E200CORE_TSR_DIS);

   _time_notify_kernel();
}
示例#10
0
static void _mtim16_kernel_isr(void *p) {
	/* Clear timer interrupt flag */
	_mtim16_clear_int(BSP_TIMER);
	_time_notify_kernel();
}