/*****************************************************************************
 Function    : SysTick_Handler
 Description : system tick interrupt handler.
 Input       : None
 Output      : None
 Return      : None
 *****************************************************************************/
void SysTick_Handler(void)
{
    /*
        LOS need call LOS_TickHandler() in SysTick_Handler, don't change it,
        otherwise, LiteOS will not work.
    */
    LOS_TickHandler();
    
    /*add your code here */
#ifdef GD32F190R8
    delay_decrement();
#endif
    
    return;
}
Esempio n. 2
0
void SysTick_Handler()
{
	millis++;
	delay_decrement();
}
Esempio n. 3
0
void SysTick_Handler(void)
{
  delay_decrement();
}
Esempio n. 4
0
/*!
    \brief      this function handles SysTick exception
    \param[in]  none
    \param[out] none
    \retval     none
*/
void SysTick_Handler(void)
{
    led_spark(lednum);
    delay_decrement();
}