#[repr(transparent)]pub struct IntMask(pub u32);Expand description
Mask Register.
Tuple Fields§
§0: u32Implementations§
Source§impl IntMask
impl IntMask
Sourcepub const fn hw_err(&self) -> bool
pub const fn hw_err(&self) -> bool
Mask the HW_ERR interrupt. Raw bit values: false (0) = HwErrMasked: HW_ERR interrupt is disabled.; true (1) = HwErrActive: HW_ERR interrupt is enabled.
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. Raw bit values: false (0) = HwErrMasked: HW_ERR interrupt is disabled.; true (1) = HwErrActive: HW_ERR interrupt is enabled.
Sourcepub const fn ent_val(&self) -> bool
pub const fn ent_val(&self) -> bool
Mask the ENT_VAL interrupt. Raw bit values: false (0) = EntValMasked: ENT_VAL interrupt is disabled.; true (1) = EntValActive: ENT_VAL interrupt is enabled.
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. Raw bit values: false (0) = EntValMasked: ENT_VAL interrupt is disabled.; true (1) = EntValActive: ENT_VAL interrupt is enabled.
Sourcepub const fn frq_ct_fail(&self) -> bool
pub const fn frq_ct_fail(&self) -> bool
Mask the FRQ_CT_FAIL interrupt. Raw bit values: false (0) = FrqCtFailMasked: FRQ_CT_FAIL interrupt is disabled.; true (1) = FrqCtFailActive: FRQ_CT_FAIL interrupt is enabled.
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. Raw bit values: false (0) = FrqCtFailMasked: FRQ_CT_FAIL interrupt is disabled.; true (1) = FrqCtFailActive: FRQ_CT_FAIL interrupt is enabled.
Sourcepub const fn intg_flt(&self) -> bool
pub const fn intg_flt(&self) -> bool
Mask the INTG_FLT interrupt. Raw bit values: false (0) = IntgFltMasked: INTG_FLT interrupt is disabled.; true (1) = IntgFltActive: INTG_FLT interrupt is enabled.
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. Raw bit values: false (0) = IntgFltMasked: INTG_FLT interrupt is disabled.; true (1) = IntgFltActive: INTG_FLT interrupt is enabled.