Concept Flow - Deferred interrupt processing architecture
Interrupt Occurs
ISR Starts
Quick ISR Work
Schedule Deferred Handler
ISR Ends
Deferred Handler Runs in Task Context
Complete Processing
When an interrupt happens, the ISR does only quick work and schedules a deferred handler to finish the job later in normal task context.