Function exception_free

Source
pub fn exception_free<T>(f: impl FnOnce(ExceptionFree<'_>) -> T) -> T
Expand description

Runs the given function with exceptions masked.

Only IRQs, FIQs and SErrors can be masked. Synchronous exceptions cannot be masked and so may still occur.