How to Use Task Callbacks

Task callbacks add powerful tools to the embedded programmers toolbox. Each task can have its own callback function.
The Mighty Event Group

Event groups can play a central role in determining when tasks run in a system. They are useful for system control and state machines. Most RTOSs support event groups, but capabilities vary.