Skip to Content
Hands-On RTOS with Microcontrollers
book

Hands-On RTOS with Microcontrollers

by Brian Amos
May 2020
Intermediate to advanced
496 pages
13h 54m
English
Packt Publishing
Content preview from Hands-On RTOS with Microcontrollers

Understanding FreeRTOS task states

As explained in Chapter 2, Understanding RTOS Tasks, all of the context switching between tasks happens in the background, which is very convenient for the programmer responsible for implementing tasks. This is because it frees them from adding code into each task that attempts to load balance the system. While the task code isn't explicitly performing the task state transitions, it is interacting with the kernel. Calls to the FreeRTOS API cause the kernel's scheduler to run, which is responsible for transitioning the tasks between the necessary states.

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.
Start your free trial

You might also like

Hands-On RTOS with Microcontrollers - Second Edition

Hands-On RTOS with Microcontrollers - Second Edition

Jim Yuill, Penn Linder

Publisher Resources

ISBN: 9781838826734Supplemental Content