/* ** =================================================================== ** Event : FRTOS1_vApplicationTickHook (module Events) ** ** Component : FRTOS1 [FreeRTOS] ** Description : ** If enabled, this hook will be called by the RTOS for every ** tick increment. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void FRTOS1_vApplicationTickHook(void) { /* Called for every RTOS tick. */ /* Write your code here ... */ TMOUT1_AddTick(); TmDt1_AddTick(); }
/* ** =================================================================== ** Event : FRTOS1_vApplicationTickHook (module Events) ** ** Component : FRTOS1 [FreeRTOS] ** Description : ** If enabled, this hook will be called by the RTOS for every ** tick increment. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void FRTOS1_vApplicationTickHook(void) { /* Called for every RTOS tick. */ TMOUT1_AddTick(); TRG1_AddTick(); TmDt1_AddTick(); }
/* ** =================================================================== ** Event : FRTOS1_vApplicationTickHook (module Events) ** ** Component : FRTOS1 [FreeRTOS] ** Description : ** If enabled, this hook will be called by the RTOS for every ** tick increment. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void FRTOS1_vApplicationTickHook(void) { /* Called for every RTOS tick. */ TMOUT1_AddTick(); #if !PL_USE_HW_RTC TmDt1_AddTick(); #endif }
static void vTimerCallback(xTimerHandle pxTimer) { /* TIMER_PERIOD_MS ms timer */ TMOUT1_AddTick(); TRG1_AddTick(); #if PL_HAS_SD_CARD TmDt1_AddTick(); #endif }
/* ** =================================================================== ** Event : FRTOS1_vApplicationTickHook (module Events) ** ** Component : FRTOS1 [FreeRTOS] ** Description : ** If enabled, this hook will be called by the RTOS for every ** tick increment. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void FRTOS1_vApplicationTickHook(void) { /* Called for every RTOS tick. */ #if PL_HAS_SD_CARD TMOUT1_AddTick(); TmDt1_AddTick(); #endif }
/* ** =================================================================== ** Event : TI1_OnInterrupt (module Events) ** ** Component : TI1 [TimerInt] ** Description : ** When a timer interrupt occurs this event is called (only ** when the component is enabled - <Enable> and the events are ** enabled - <EnableEvent>). This event is enabled only if a ** <interrupt service/event> is enabled. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void TI1_OnInterrupt(void) { TmDt1_AddTick(); TMOUT1_AddTick(); }
/* ** =================================================================== ** Event : FRTOS1_vApplicationTickHook (module Events) ** ** Component : FRTOS1 [FreeRTOS] ** Description : ** If enabled, this hook will be called by the RTOS for every ** tick increment. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void FRTOS1_vApplicationTickHook(void) { TMOUT1_AddTick(); TmDt1_AddTick(); }
/* ** =================================================================== ** Event : TI1_OnInterrupt (module Events) ** ** Component : TI1 [TimerInt] ** Description : ** When a timer interrupt occurs this event is called (only ** when the component is enabled - <Enable> and the events are ** enabled - <EnableEvent>). This event is enabled only if a ** <interrupt service/event> is enabled. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void TI1_OnInterrupt(void) { /* Write your code here ... */ TmDt1_AddTick(); }
/* ** =================================================================== ** Description : ** If enabled, this hook will be called by the RTOS for every ** tick increment. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void FRTOS1_vApplicationTickHook(void) { /* Called for every RTOS tick. */ TmDt1_AddTick(); /* doing with a FreeRTOS software timer now */ TMOUT1_AddTick(); }