Struct Seccfgr
#[repr(transparent)]pub struct Seccfgr(pub u32);Expand description
RTC secure configuration register.
Tuple Fields§
§0: u32Implementations§
§impl Seccfgr
impl Seccfgr
pub fn set_alrasec(&mut self, val: bool)
pub fn set_alrasec(&mut self, val: bool)
Alarm A and SSR underflow protection.
pub fn set_alrbsec(&mut self, val: bool)
pub fn set_alrbsec(&mut self, val: bool)
Alarm B protection.
pub fn set_wutsec(&mut self, val: bool)
pub fn set_wutsec(&mut self, val: bool)
Wake-up timer protection.
pub const fn calsec(&self) -> bool
pub const fn calsec(&self) -> bool
Shift register, daylight saving, calibration and reference clock protection.
pub fn set_calsec(&mut self, val: bool)
pub fn set_calsec(&mut self, val: bool)
Shift register, daylight saving, calibration and reference clock protection.
pub fn set_initsec(&mut self, val: bool)
pub fn set_initsec(&mut self, val: bool)
Initialization protection.
Trait Implementations§
impl Copy for Seccfgr
impl Eq for Seccfgr
impl StructuralPartialEq for Seccfgr
Auto Trait Implementations§
impl Freeze for Seccfgr
impl RefUnwindSafe for Seccfgr
impl Send for Seccfgr
impl Sync for Seccfgr
impl Unpin for Seccfgr
impl UnwindSafe for Seccfgr
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