#[repr(transparent)]pub struct Nmi(pub u32);
Expand description
Disable interrupt
Tuple Fields§
§0: u32
Implementations§
Source§impl Nmi
impl Nmi
Sourcepub fn set_timeout(&mut self, val: bool)
pub fn set_timeout(&mut self, val: bool)
Write ‘1’ to disable interrupt for event TIMEOUT
Sourcepub fn set_stopped(&mut self, val: bool)
pub fn set_stopped(&mut self, val: bool)
Write ‘1’ to disable interrupt for event STOPPED
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)