FreeRTOS - Tasks
FreeRTOS - Tasks
FreeRTOS - Tasks
Task Management
Task (Implementing) Function
Task States
Same behavior,
but less program
memory space
Task Priorities
• When one or more tasks of equal priority are
all “Ready”, the scheduler will cycle through
each one.
Task Priorities
The Idle Hook function is called one per iteration of the Idle Task loop. The Idle Task
yields at the end of every loop iteration, changing its state to “Ready” and allowing
other tasks to run, even if they are the same priority. If all other tasks are blocked or
suspended, then the Idle Hook function can run multiple times in one tick interval.
Miscellaneous
• A task can be created from within another task
implementation function, after the scheduler has
run