Microchip® Advanced Software Framework

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

task.

h

signed char *pcTaskGetTaskName( xTaskHandle xTaskToQuery );
Returns
The text (human readable) name of the task referenced by the handle xTaskToQueury. A task can query its own name by either passing in its own handle, or by setting xTaskToQuery to NULL. INCLUDE_pcTaskGetTaskName must be set to 1 in FreeRTOSConfig.h for pcTaskGetTaskName() to be available.

h

char *pcTaskGetTaskName( TaskHandle_t xTaskToQuery );
Returns
The text (human readable) name of the task referenced by the handle xTaskToQuery. A task can query its own name by either passing in its own handle, or by setting xTaskToQuery to NULL. INCLUDE_pcTaskGetTaskName must be set to 1 in FreeRTOSConfig.h for pcTaskGetTaskName() to be available.