Visible to Intel only — GUID: mwh1416946896267
Ixiasoft
Visible to Intel only — GUID: mwh1416946896267
Ixiasoft
9.3.1.5. Keep Interrupts Enabled
Disable interrupts as infrequently as possible, and for the briefest time possible.
Instead of disabling all interrupts, call alt_ic_irq_disable() and alt_ic_irq_enable() to enable and disable individual interrupts.
To protect shared data structures, use RTOS structures such as semaphores.
Disable all interrupts only during critical system operations. In the code where interrupts are disabled, perform only the bare minimum of critical operations, and reenable interrupts immediately.