#[repr(transparent)]pub struct IrqSetup0(pub u32);
Expand description
Interrupt setup register 0
Tuple Fields§
§0: u32
Implementations§
source§impl IrqSetup0
impl IrqSetup0
sourcepub fn set_day_ena(&mut self, val: bool)
pub fn set_day_ena(&mut self, val: bool)
Enable day matching
sourcepub fn set_month_ena(&mut self, val: bool)
pub fn set_month_ena(&mut self, val: bool)
Enable month matching
sourcepub fn set_year_ena(&mut self, val: bool)
pub fn set_year_ena(&mut self, val: bool)
Enable year matching
sourcepub const fn match_ena(&self) -> bool
pub const fn match_ena(&self) -> bool
Global match enable. Don’t change any other value while this one is enabled
sourcepub fn set_match_ena(&mut self, val: bool)
pub fn set_match_ena(&mut self, val: bool)
Global match enable. Don’t change any other value while this one is enabled
pub const fn match_active(&self) -> bool
pub fn set_match_active(&mut self, val: bool)
Trait Implementations§
impl Copy for IrqSetup0
impl Eq for IrqSetup0
impl StructuralPartialEq for IrqSetup0
Auto Trait Implementations§
impl Freeze for IrqSetup0
impl RefUnwindSafe for IrqSetup0
impl Send for IrqSetup0
impl Sync for IrqSetup0
impl Unpin for IrqSetup0
impl UnwindSafe for IrqSetup0
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)