#[repr(transparent)]pub struct IntCtrl(pub u32);Expand description
Interrupt Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl IntCtrl
impl IntCtrl
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.
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.
Sourcepub const fn frq_ct_fail(&self) -> bool
pub const fn frq_ct_fail(&self) -> bool
Clear 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)
Clear 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)
Clear the INTG_FLT interrupt.
Trait Implementations§
impl Copy for IntCtrl
impl Eq for IntCtrl
impl StructuralPartialEq for IntCtrl
Auto Trait Implementations§
impl Freeze for IntCtrl
impl RefUnwindSafe for IntCtrl
impl Send for IntCtrl
impl Sync for IntCtrl
impl Unpin for IntCtrl
impl UnwindSafe for IntCtrl
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