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

Queues make testing easier

Similar to the way hardware abstractions provide easy insertion points for test data, queues also provide excellent places to enter test data. This provides a very convenient entry point for entering test data for code under development. The flexibility of implementation mentioned in the previous section also applies here. If a piece of code is sending data to a queue and expects a response from another queue, the actual implementation doesn't necessarily need to be used—it can be simulated by responding to the command. This approach makes it possible to develop the other side of code in the absence of fully implemented functionality (in case the hardware or subsystem is still under development). This approach is ...

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