#[repr(transparent)]pub struct Nmi(pub u32);
Expand description
Enable or disable interrupt
Tuple Fields§
§0: u32
Implementations§
Source§impl Nmi
impl Nmi
Sourcepub fn set_region0wa(&mut self, val: bool)
pub fn set_region0wa(&mut self, val: bool)
Enable or disable interrupt for event REGION0WA
Sourcepub fn set_region0ra(&mut self, val: bool)
pub fn set_region0ra(&mut self, val: bool)
Enable or disable interrupt for event REGION0RA
Sourcepub fn set_region1wa(&mut self, val: bool)
pub fn set_region1wa(&mut self, val: bool)
Enable or disable interrupt for event REGION1WA
Sourcepub fn set_region1ra(&mut self, val: bool)
pub fn set_region1ra(&mut self, val: bool)
Enable or disable interrupt for event REGION1RA
Sourcepub fn set_region2wa(&mut self, val: bool)
pub fn set_region2wa(&mut self, val: bool)
Enable or disable interrupt for event REGION2WA
Sourcepub fn set_region2ra(&mut self, val: bool)
pub fn set_region2ra(&mut self, val: bool)
Enable or disable interrupt for event REGION2RA
Sourcepub fn set_region3wa(&mut self, val: bool)
pub fn set_region3wa(&mut self, val: bool)
Enable or disable interrupt for event REGION3WA
Sourcepub fn set_region3ra(&mut self, val: bool)
pub fn set_region3ra(&mut self, val: bool)
Enable or disable interrupt for event REGION3RA
Sourcepub const fn pregion0wa(&self) -> bool
pub const fn pregion0wa(&self) -> bool
Enable or disable interrupt for event PREGION0WA
Sourcepub fn set_pregion0wa(&mut self, val: bool)
pub fn set_pregion0wa(&mut self, val: bool)
Enable or disable interrupt for event PREGION0WA
Sourcepub const fn pregion0ra(&self) -> bool
pub const fn pregion0ra(&self) -> bool
Enable or disable interrupt for event PREGION0RA
Sourcepub fn set_pregion0ra(&mut self, val: bool)
pub fn set_pregion0ra(&mut self, val: bool)
Enable or disable interrupt for event PREGION0RA
Sourcepub const fn pregion1wa(&self) -> bool
pub const fn pregion1wa(&self) -> bool
Enable or disable interrupt for event PREGION1WA
Sourcepub fn set_pregion1wa(&mut self, val: bool)
pub fn set_pregion1wa(&mut self, val: bool)
Enable or disable interrupt for event PREGION1WA
Sourcepub const fn pregion1ra(&self) -> bool
pub const fn pregion1ra(&self) -> bool
Enable or disable interrupt for event PREGION1RA
Sourcepub fn set_pregion1ra(&mut self, val: bool)
pub fn set_pregion1ra(&mut self, val: bool)
Enable or disable interrupt for event PREGION1RA
Trait Implementations§
impl Copy for Nmi
impl Eq for Nmi
impl StructuralPartialEq for Nmi
Auto Trait Implementations§
impl Freeze for Nmi
impl RefUnwindSafe for Nmi
impl Send for Nmi
impl Sync for Nmi
impl Unpin for Nmi
impl UnwindSafe for Nmi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)