Real-Time Building Blocks
Events and Triggers
Erich Styger
The previous chapter approaches embedded systems from a higher level of abstraction; from the system design architecture and how to apply design patterns for the implementation. This chapter introduces two fundamental concepts and design patterns in real-time systems: (a) the ability to set asynchronous event flags (events) and (b) the ability to have things triggered in a timely fashion (triggers). These two concepts are used both in systems with a real-time operating system (RTOS) and in systems not using an RTOS. The chapter starts with use cases and then develops different ways to implement events and triggers. It presents different implementation details and discusses ...
Get Software Engineering for Embedded Systems 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.