May 2020
Intermediate to advanced
524 pages
13h 35m
English
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 ...
Read now
Unlock full access