Overview - Tick timer and scheduler
What is it?
In FreeRTOS, the tick timer is a hardware timer that generates regular interrupts called ticks. These ticks help the scheduler decide when to switch between tasks. The scheduler uses these ticks to manage task timing, delays, and priorities, ensuring tasks run smoothly and fairly.
Why it matters
Without the tick timer and scheduler, tasks would run without order or timing, causing chaos in multitasking systems. The tick timer ensures tasks get CPU time fairly and on schedule, which is critical for real-time applications like robots or medical devices where timing matters.
Where it fits
Before learning about the tick timer and scheduler, you should understand basic microcontroller timers and interrupts. After this, you can learn about task synchronization, inter-task communication, and advanced scheduling policies.