Concept Flow - uxTaskPriorityGet() for reading priority
Call uxTaskPriorityGet(taskHandle)
Check if taskHandle is NULL?
No→Access task's priority
Return task priority
Return current task's priority
Output priority value
The function checks if a task handle is given. If NULL, it returns the priority of the current task. Otherwise, it returns the priority of the specified task.