pub enum Swreset {
NotInReset = 0,
InReset = 1,
}Expand description
Software reset control
Value on reset: 1
Variants§
NotInReset = 0
0: Not in reset. The RTC is not held in reset. This bit must be cleared prior to configuring or initiating any operation of the RTC.
InReset = 1
1: In reset. The RTC is held in reset. All register bits within the RTC will be forced to their reset value except the RTC_OSC_PD bit. This bit must be cleared before writing to any register in the RTC - including writes to set any of the other bits within this register. Do not attempt to write to any bits of this register at the same time that the reset bit is being cleared.
Trait Implementations§
impl Copy for Swreset
impl Eq for Swreset
impl StructuralPartialEq for Swreset
Auto Trait Implementations§
impl Freeze for Swreset
impl RefUnwindSafe for Swreset
impl Send for Swreset
impl Sync for Swreset
impl Unpin for Swreset
impl UnwindSafe for Swreset
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