void vApplicationTickHook( void ) { #if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 0 { extern void vFullDemoTickHook( void ); vFullDemoTickHook(); } #endif }
void vApplicationTickHook( void ) { #if( mainSELECTED_APPLICATION == 1 ) { /* Only the comprehensive demo actually uses the tick hook. */ extern void vFullDemoTickHook( void ); vFullDemoTickHook(); } #endif }
void vApplicationTickHook( void ) { /* The tick hook is not used by the blinky demo, but is by the full demo. */ #if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 0 { extern void vFullDemoTickHook( void ); vFullDemoTickHook(); } #endif }
void vApplicationTickHook( void ) { #if( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 0 ) { extern void vFullDemoTickHook( void ); /* The full demo includes some tests that execute in an interrupt context, and the tick hook is used for this purpose. */ vFullDemoTickHook(); } #endif }
void vApplicationTickHook( void ) { /* The full demo includes tests that run from the tick hook. */ #if( configCREATE_LOW_POWER_DEMO == 0 ) { /* Some of the tests and demo tasks executed by the full demo include interaction from an interrupt - for which the tick interrupt is used via the tick hook function. */ vFullDemoTickHook(); } #endif }
void vApplicationTickHook( void ) { /* This function will be called by each tick interrupt if configUSE_TICK_HOOK is set to 1 in FreeRTOSConfig.h. User code can be added here, but the tick hook is called from an interrupt context, so code must not attempt to block, and only the interrupt safe FreeRTOS API functions can be used (those that end in FromISR()). */ #if ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 0 ) { extern void vFullDemoTickHook( void ); vFullDemoTickHook(); } #endif /* mainCREATE_SIMPLE_BLINKY_DEMO_ONLY */ }