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

Important notes on the examples 

The previous example's main purpose was to illustrate the following points:

  • Queues can be used to hold arbitrary data.
  • Queues interact with task priorities in interesting ways.

There were several trade-offs made to simplify behavior and make the example easier to understand:

  • The task receiving from the queue was a low priority: In practice, you'll need to balance the priority of tasks that are receiving from queues (to keep latency low and prevent queues from filling up) against the priority of other events in the system.
  • A long queue was used for commands: Deep queues combined with a low-priority task receiving from them will create latency in a system. Because of the combination of low task priority and ...
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