
How the FreeRTOS Timer Service Task Runs Timer Callbacks
See how FreeRTOS keeps software timers: one daemon task, a command queue and two sorted lists, and what that means for callback timing and order.
Tag
17 posts

See how FreeRTOS keeps software timers: one daemon task, a command queue and two sorted lists, and what that means for callback timing and order.

Create FreeRTOS software timers with xTimerCreate: the five arguments, one-shot versus auto-reload, why a new timer is dormant and how to restart a one-shot.

Learn FreeRTOS queues, stream buffers and message buffers: when to use each, ISR sends, sizing, pointer ownership, patterns and the failures that lose data.

How an RTOS works on a microcontroller: tasks, scheduling, interrupts, queues, mutexes, memory and timing, with FreeRTOS code and a route through the series.

Learn FreeRTOS V11.1.0 software timers, the timer service task, the idle hook and tickless idle, from one-shot timers to low-power setup.