Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xTaskGetTickCount

task.

h

portTickType xTaskGetTickCount( void );
Returns
The count of ticks since vTaskStartScheduler was called.

h

portTickType xTaskGetTickCountFromISR( void );
Returns
The count of ticks since vTaskStartScheduler was called.

This is a version of xTaskGetTickCount() that is safe to be called from an ISR - provided that portTickType is the natural word size of the microcontroller being used or interrupt nesting is either not supported or not being used.

h

TickType_t xTaskGetTickCount( void );
Returns
The count of ticks since vTaskStartScheduler was called.