#[repr(transparent)]pub struct Cr(pub u32);Expand description
RTC Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Cr
impl Cr
Sourcepub const fn swr(&self) -> bool
pub const fn swr(&self) -> bool
Software Reset. Raw bit values: false (0) = NoEffect: No effect.; true (1) = Reset: Resets all RTC registers except for this bit . This bit is cleared by POR and by software explicitly clearing it.
Sourcepub const fn set_swr(&mut self, val: bool)
pub const fn set_swr(&mut self, val: bool)
Software Reset. Raw bit values: false (0) = NoEffect: No effect.; true (1) = Reset: Resets all RTC registers except for this bit . This bit is cleared by POR and by software explicitly clearing it.
Sourcepub const fn um(&self) -> bool
pub const fn um(&self) -> bool
Update Mode. Raw bit values: false (0) = NonWritable: Registers cannot be written when locked.; true (1) = Writable: Registers can be written when locked under limited conditions.
Sourcepub const fn set_um(&mut self, val: bool)
pub const fn set_um(&mut self, val: bool)
Update Mode. Raw bit values: false (0) = NonWritable: Registers cannot be written when locked.; true (1) = Writable: Registers can be written when locked under limited conditions.