#[repr(transparent)]pub struct Int(pub u32);Expand description
Disable interrupt.
Tuple Fields§
§0: u32Implementations§
Source§impl Int
impl Int
Sourcepub const fn set_samplerdy(&mut self, val: bool)
pub const fn set_samplerdy(&mut self, val: bool)
Write ‘1’ to disable interrupt for event SAMPLERDY.
Sourcepub const fn set_reportrdy(&mut self, val: bool)
pub const fn set_reportrdy(&mut self, val: bool)
Write ‘1’ to disable interrupt for event REPORTRDY.
Sourcepub const fn set_dblrdy(&mut self, val: bool)
pub const fn set_dblrdy(&mut self, val: bool)
Write ‘1’ to disable interrupt for event DBLRDY.
Sourcepub const fn set_stopped(&mut self, val: bool)
pub const fn set_stopped(&mut self, val: bool)
Write ‘1’ to disable interrupt for event STOPPED.
Trait Implementations§
impl Copy for Int
impl Eq for Int
impl StructuralPartialEq for Int
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
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