Concept Flow - Tick timer and scheduler
System starts
Tick Timer Interrupt
Increment Tick Count
Check if Scheduler Needed
Call Scheduler
Select Next Task
Switch Context
Run Next Task
↩Back to Tick Timer Interrupt
The tick timer triggers an interrupt regularly, increments the tick count, and calls the scheduler to decide if a task switch is needed.