.Interrupts General

What can you do in interrupts In ISR functions you can do only simple thing, not time consuming operations. Disable interrupts You can suspend interrupts and context switches by calling  portDISABLE_INTERRUPTS and the interrupts on that core should stop firing, stopping task switches as well. Call portENABLE_INTERRUPTS after you're done

Read More