#[repr(transparent)]pub struct IntCtrl(pub u32);Expand description
Interrupt Control Register.
Tuple Fields§
§0: u32Implementations§
Source§impl IntCtrl
impl IntCtrl
Sourcepub const fn hw_err(&self) -> bool
pub const fn hw_err(&self) -> bool
Clear the HW_ERR interrupt. Raw bit values: false (0) = HwErrClear: Clears the INT_STATUS[HW_ERR] bit. Will automatically set after writing.; true (1) = HwErrOn: Enables the INT_STATUS[HW_ERR] bit to be set, thereby enabling interrupt generation for the HW_ERR condition.
Sourcepub const fn set_hw_err(&mut self, val: bool)
pub const fn set_hw_err(&mut self, val: bool)
Clear the HW_ERR interrupt. Raw bit values: false (0) = HwErrClear: Clears the INT_STATUS[HW_ERR] bit. Will automatically set after writing.; true (1) = HwErrOn: Enables the INT_STATUS[HW_ERR] bit to be set, thereby enabling interrupt generation for the HW_ERR condition.
Sourcepub const fn ent_val(&self) -> bool
pub const fn ent_val(&self) -> bool
Clear the ENT_VAL interrupt. Raw bit values: false (0) = EntValClear: Clears the INT_STATUS[ENT_VAL] bit. Will automatically set after writing.; true (1) = EntValOn: Enables the INT_STATUS[ENT_VAL] bit to be set, thereby enabling interrupt generation for the ENT_VAL condition.
Sourcepub const fn set_ent_val(&mut self, val: bool)
pub const fn set_ent_val(&mut self, val: bool)
Clear the ENT_VAL interrupt. Raw bit values: false (0) = EntValClear: Clears the INT_STATUS[ENT_VAL] bit. Will automatically set after writing.; true (1) = EntValOn: Enables the INT_STATUS[ENT_VAL] bit to be set, thereby enabling interrupt generation for the ENT_VAL condition.
Sourcepub const fn frq_ct_fail(&self) -> bool
pub const fn frq_ct_fail(&self) -> bool
Clear the FRQ_CT_FAIL interrupt. Raw bit values: false (0) = FrqCtFailClear: Clears the INT_STATUS[FRQ_CT_FAIL] bit. Will automatically set after writing.; true (1) = FrqCtFailOn: Enables the INT_STATUS[FRQ_CT_FAIL] bit to be set, thereby enabling interrupt generation for the FRQ_CT_FAIL condition.
Sourcepub const fn set_frq_ct_fail(&mut self, val: bool)
pub const fn set_frq_ct_fail(&mut self, val: bool)
Clear the FRQ_CT_FAIL interrupt. Raw bit values: false (0) = FrqCtFailClear: Clears the INT_STATUS[FRQ_CT_FAIL] bit. Will automatically set after writing.; true (1) = FrqCtFailOn: Enables the INT_STATUS[FRQ_CT_FAIL] bit to be set, thereby enabling interrupt generation for the FRQ_CT_FAIL condition.
Sourcepub const fn intg_flt(&self) -> bool
pub const fn intg_flt(&self) -> bool
Clear the INTG_FLT interrupt. Raw bit values: false (0) = IntgFltClear: Clears the INT_STATUS[INTG_FLT] bit. Will automatically set after writing.; true (1) = IntgFltOn: Enables the INT_STATUS[INTG_FLT] bit to be set, thereby enabling interrupt generation for the INTG_FLT condition.
Sourcepub const fn set_intg_flt(&mut self, val: bool)
pub const fn set_intg_flt(&mut self, val: bool)
Clear the INTG_FLT interrupt. Raw bit values: false (0) = IntgFltClear: Clears the INT_STATUS[INTG_FLT] bit. Will automatically set after writing.; true (1) = IntgFltOn: Enables the INT_STATUS[INTG_FLT] bit to be set, thereby enabling interrupt generation for the INTG_FLT condition.