6
Understanding RTOS Tasks
In the last two chapters we saw how bare-metal firmware applications make use of the super-loop and the timed super-loop to perform their duties in real time. We also saw how a function can be broken up by using a state machine. This allows the super-loop to perform the function’s duties without preventing other functions from running in a timely manner. In this chapter, we introduce RTOS tasks and show how they make it possible for functions to perform their duties while meeting their deadlines.
The present chapter consists of three parts. The first part provides a conceptual view of the FreeRTOS scheduler and tasks. The second part describes how FreeRTOS was chosen for the book’s RTOS. The third part presents a FreeRTOS ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access