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

osThreadGetPriority() function

Get current priority of an active thread.

Syntax

osPriority osThreadGetPriority (osThreadId thread_id);
Implemented in cmsis_os.c:300

Arguments

thread_id

thread ID obtained by osThreadCreate or osThreadGetId.

Return value

current priority value of the thread function.

Notes

MUST REMAIN UNCHANGED: \b osThreadGetPriority shall be consistent in every CMSIS-RTOS.

References

LocationText
cmsis_os.c:300
osPriority osThreadGetPriority (osThreadId thread_id)
cmsis_os.h:470
osPriority osThreadGetPriority (osThreadId thread_id);

Call Tree

Functions called by osThreadGetPriority()
osThreadGetPriority()
Data read by osThreadGetPriority()
all items filtered out
osThreadGetPriority()
Type of osThreadGetPriority()
osThreadGetPriority()
all items filtered out