Concept Flow - ISR-safe API functions (FromISR suffix)
Interrupt Occurs
Call FromISR API
Check ISR Context
Perform Safe Operation
Return from ISR
Scheduler Decision
No Switch
Continue
When an interrupt happens, ISR-safe APIs with FromISR suffix are called to safely interact with FreeRTOS from interrupt context, possibly triggering a context switch.
