vTaskPrioritySet() do in FreeRTOS?vTaskPrioritySet()?vTaskPrioritySet()?vTaskPrioritySet() be called from an interrupt service routine (ISR)?vTaskPrioritySet()?vTaskPrioritySet() require to change a task's priority?vTaskPrioritySet() needs the task handle to identify the task and the new priority value to set.
vTaskPrioritySet(), what might happen immediately?Increasing priority can cause immediate preemption by the scheduler to run the higher priority task.
vTaskPrioritySet() be safely called from an interrupt service routine (ISR)?This function is designed to be called from tasks, not ISRs.
vTaskPrioritySet()?Priorities must be within the configured range defined by configMAX_PRIORITIES.
Lower priority means the task can be preempted by tasks with higher priority.
vTaskPrioritySet() affects task scheduling in FreeRTOS.vTaskPrioritySet() is useful.