Software timers
Abstract
Software timers are important parts of any real-time operating system. The timers are used in tasks to schedule the execution of a function at a time in the future, or periodically with a fixed frequency. Software timers under FreeRTOS do not require any hardware and are not related to hardware timers as they are implemented in software. When a timer expires the program can be configured to call a function called the timer’s callback function. A timer must be created before it can be used. Timers must be started, stopped, or reset manually by the user programs. Software timer API functions send commands from the calling task to the daemon task on a queue called the “timer command queue.” This chapter is about ...
Get ARM-Based Microcontroller Multitasking Projects 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.