/* ** =================================================================== ** 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_CONFIG_HAS_TIMER TMR_OnInterrupt(); #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. */ /* Write your code here ... */ TMR_OnInterrupt(); }
/* ** =================================================================== ** 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) { #if PL_CONFIG_HAS_TIMER && !PL_CONFIG_HAS_RTOS TMR_OnInterrupt(); #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) { TMOUT1_AddTick(); TMR_OnInterrupt(); #if PL_HAS_MOTOR_TACHO TACHO_Sample(); #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. */ /* Write your code here ... */ #if PL_CONFIG_HAS_RTOS && PL_CONFIG_HAS_TIMER TMR_OnInterrupt(); #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) { #if PL_CONIG_HAS_TIMER TMR_OnInterrupt(); #endif //TMR_OnInterrupt(); }
/* ** =================================================================== ** 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_QUAD_CALIBRATION TMOUT1_AddTick(); #endif #if PL_HAS_TIMER TMR_OnInterrupt(); #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) { TMR_OnInterrupt(); }
/* ** =================================================================== ** 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) { #if PL_HAS_TIMER TMR_OnInterrupt(); #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) { TMR_OnInterrupt(); }
/* ** =================================================================== ** 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) { #if PL_HAS_TIMER TMR_OnInterrupt(); #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. */ TMR_OnInterrupt(); }