MCPcopy Create free account
hub / github.com/FreeRTOS/FreeRTOS-Kernel / xTaskGetTickCount

Function xTaskGetTickCount

tasks.c:3069–3081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3067/*-----------------------------------------------------------*/
3068
3069TickType_t xTaskGetTickCount( void )
3070{
3071 TickType_t xTicks;
3072
3073 /* Critical section required if running on a 16 bit processor. */
3074 portTICK_TYPE_ENTER_CRITICAL();
3075 {
3076 xTicks = xTickCount;
3077 }
3078 portTICK_TYPE_EXIT_CRITICAL();
3079
3080 return xTicks;
3081}
3082/*-----------------------------------------------------------*/
3083
3084TickType_t xTaskGetTickCountFromISR( void )

Callers 3

prvSampleTimeNowFunction · 0.85
prvCheckDelayedListFunction · 0.85
MPU_xTaskGetTickCountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected