xTaskGetHandle() is only used within FreeRTOS.
 
Symbols
loading...
Files
loading...

xTaskGetHandle() function

NOTE: This function takes a relatively long time to complete and should be used sparingly.

Syntax

Arguments

pcNameToQuery

Return value

The handle of the task that has the human readable name pcNameToQuery. NULL is returned if no matching name is found. INCLUDE_xTaskGetHandle must be set to 1 in FreeRTOSConfig.h for pcTaskGetHandle() to be available.

References

LocationReferrerText
tasks.c:2440
TaskHandle_t xTaskGetHandle( const char *pcNameToQuery ) /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
task.h:1415
TaskHandle_t xTaskGetHandle( const char *pcNameToQuery ) PRIVILEGED_FUNCTION; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
mpu_wrappers.c:338MPU_xTaskGetHandle()
xReturn = xTaskGetHandle( pcNameToQuery );

Call Tree

Functions calling xTaskGetHandle()
Functions called by xTaskGetHandle()
all items filtered out
xTaskGetHandle()
Data read by xTaskGetHandle()
Data written by xTaskGetHandle()
xTaskGetHandle()::uxQueue
xTaskGetHandle()::pxTCB
all items filtered out
xTaskGetHandle()
xTaskGetHandle()::uxQueue
xTaskGetHandle()::pxTCB
all items filtered out
Type of xTaskGetHandle()
xTaskGetHandle()