void vApplicationIdleHook( void ) { for( ;; ) { vCoRoutineSchedule(); } }
void vApplicationIdleHook( void ) { /* Schedule the co-routines. */ for( ;; ) { vCoRoutineSchedule(); } }
/*--------------------------------------------------------------------------- * The below callback function is called from Delayed ISR if configUSE_IDLE_HOOK * is configured as 1. *---------------------------------------------------------------------------*/ void vApplicationIdleHook( void ) { #if WATCHDOG == WTC_IN_IDLE Kick_Watchdog(); #endif #if ( INCLUDE_StartFlashCoRoutines == 1 || INCLUDE_StartHookCoRoutines == 1 ) vCoRoutineSchedule(); #endif }
void vApplicationIdleHook( void ) { /* Are we using the idle task to kick the watchdog? See watchdog.h for watchdog kicking options. Note this is for demonstration only and is not a suggested method of servicing the watchdog in a real application. */ #if WATCHDOG == WTC_IN_IDLE Kick_Watchdog(); #endif vCoRoutineSchedule(); }
void vApplicationIdleHook( void ) { /* The co-routines are executed in the idle task using the idle task hook. */ for( ;; ) { /* Schedule the co-routines. */ vCoRoutineSchedule(); /* Run the register check function between each co-routine. */ prvSetAndCheckRegisters(); } }
void vApplicationIdleHook( void ) { /* The co-routines are executed in the idle task using the idle task hook. */ for( ;; ) { /* Schedule the co-routines. */ vCoRoutineSchedule(); /* Run the register check function between each co-routine. */ vSetAndCheckRegisters(); /* See if the comms task and co-routine has found any errors. */ if( uxGetCommsStatus() != pdPASS ) { vParTestSetLED( mainFAIL_LED, pdTRUE ); } } }
static void vLEDCoRoutineControlTask( void *pvParameters ) { unsigned short usCoroutine; ( void ) pvParameters; /* Create the co-routines - one of each segment of the right side display. */ for( usCoroutine = 0; usCoroutine < ledNUM_OF_LED_CO_ROUTINES; usCoroutine++ ) { xCoRoutineCreate( prvFixedDelayCoRoutine, ledCO_ROUTINE_PRIORITY, usCoroutine ); } /* This task has nothing else to do except scheduler the co-routines it just created. */ for( ;; ) { vCoRoutineSchedule(); } }
void vApplicationIdleHook( void ) { /* The co-routines are executed in the idle task using the idle task hook. */ vCoRoutineSchedule(); }
void vApplicationIdleHook( void ) { /* Schedule the co-routines from within the idle task hook. */ vCoRoutineSchedule(); }