pub unsafe fn with_interrupts_disabled<F, R>(f: F) -> Rwhere F: FnOnce() -> R,
Single-core critical section operation