#[repr(transparent)]pub struct Imr(pub u32);Expand description
Interrupt Mask
Tuple Fields§
§0: u32Implementations§
Source§impl Imr
impl Imr
Sourcepub const fn int_en_busy(&self) -> bool
pub const fn int_en_busy(&self) -> bool
Busy interrupt
Sourcepub const fn set_int_en_busy(&mut self, val: bool)
pub const fn set_int_en_busy(&mut self, val: bool)
Busy interrupt
Sourcepub const fn set_int_en_ok(&mut self, val: bool)
pub const fn set_int_en_ok(&mut self, val: bool)
Ok interrupt
Sourcepub const fn int_en_error(&self) -> bool
pub const fn int_en_error(&self) -> bool
Error interrupt
Sourcepub const fn set_int_en_error(&mut self, val: bool)
pub const fn set_int_en_error(&mut self, val: bool)
Error interrupt
Sourcepub const fn int_en_zeroized(&self) -> bool
pub const fn int_en_zeroized(&self) -> bool
Zeroized interrupt
Sourcepub const fn set_int_en_zeroized(&mut self, val: bool)
pub const fn set_int_en_zeroized(&mut self, val: bool)
Zeroized interrupt
Sourcepub const fn int_en_rejected(&self) -> bool
pub const fn int_en_rejected(&self) -> bool
Rejected interrupt
Sourcepub const fn set_int_en_rejected(&mut self, val: bool)
pub const fn set_int_en_rejected(&mut self, val: bool)
Rejected interrupt
Sourcepub const fn int_en_di_request(&self) -> bool
pub const fn int_en_di_request(&self) -> bool
Data in request interrupt
Sourcepub const fn set_int_en_di_request(&mut self, val: bool)
pub const fn set_int_en_di_request(&mut self, val: bool)
Data in request interrupt
Sourcepub const fn int_en_do_request(&self) -> bool
pub const fn int_en_do_request(&self) -> bool
Data out request interrupt
Sourcepub const fn set_int_en_do_request(&mut self, val: bool)
pub const fn set_int_en_do_request(&mut self, val: bool)
Data out request interrupt
Trait Implementations§
impl Copy for Imr
impl Eq for Imr
impl StructuralPartialEq for Imr
Auto Trait Implementations§
impl Freeze for Imr
impl RefUnwindSafe for Imr
impl Send for Imr
impl Sync for Imr
impl Unpin for Imr
impl UnwindSafe for Imr
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