#[repr(transparent)]pub struct IntMask(pub u32);Expand description
Mask Register
Tuple Fields§
§0: u32Implementations§
Source§impl IntMask
impl IntMask
Sourcepub const fn set_hw_err(&mut self, val: bool)
pub const fn set_hw_err(&mut self, val: bool)
Mask the HW_ERR interrupt.
Sourcepub const fn set_ent_val(&mut self, val: bool)
pub const fn set_ent_val(&mut self, val: bool)
Mask the ENT_VAL interrupt.
Sourcepub const fn frq_ct_fail(&self) -> bool
pub const fn frq_ct_fail(&self) -> bool
Mask the FRQ_CT_FAIL interrupt.
Sourcepub const fn set_frq_ct_fail(&mut self, val: bool)
pub const fn set_frq_ct_fail(&mut self, val: bool)
Mask the FRQ_CT_FAIL interrupt.
Sourcepub const fn set_intg_flt(&mut self, val: bool)
pub const fn set_intg_flt(&mut self, val: bool)
Mask the INTG_FLT interrupt.
Trait Implementations§
impl Copy for IntMask
impl Eq for IntMask
impl StructuralPartialEq for IntMask
Auto Trait Implementations§
impl Freeze for IntMask
impl RefUnwindSafe for IntMask
impl Send for IntMask
impl Sync for IntMask
impl Unpin for IntMask
impl UnwindSafe for IntMask
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