Chapter 8. Real-Time Embedded Systems
In this chapter, we will cover the following topics:
- Multithreaded programs using event flags
- Multithreaded programs using mailboxes
- Why ensuring mutual exclusion is important when accessing shared resources
- Why we must use a mutex to access the GLCD
- How to write a multithreaded Pong game
- Debugging programs that use CMSIS-RTOS
Introduction
The title of the last chapter included the phrase, "Real Time". The term, Real Time, is used to describe a computing system that must meet deadlines. We did not define this term in Chapter 7, Real-Time Signal Processing because, in the context of handling audio samples, an implicit deadline is the sampling rate. However, you may recall that our ISR illuminated an error LED if the ...
Get ARM® Cortex® M4 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.