1 2 3 4 5 6 7 8 9 10 11 12 13
use xtensa_lx::interrupt; /// Get specific interrupts and returns the current setting #[inline] pub fn get_mask() -> u32 { interrupt::get_mask() } /// Set specific interrupts #[inline] pub unsafe fn set_mask(mask: u32) { interrupt::set_mask(mask); }