04 Understanding Super-Loops

Join our book community on Discord

https://packt.link/embedded

A qr code on a white background Description automatically generated

The super-loop programming paradigm is typically one of the first programming methods that an embedded-systems engineer will encounter. A program implemented with a super-loop has a single top-level loop that cycles through the various functions the system needs to perform. These simple while loops are easy to create and understand (when they are small). In RTOS systems, each task is very similar to a super-loop – the main difference is that RTOS systems can have multiple tasks, but super-loop systems only have a single super-loop.In this chapter, we ...

Get Hands-On RTOS with Microcontrollers - Second Edition 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.