#[repr(u8)]pub enum KEY {
Activate = 0,
Deactivate2 = 83,
Deactivate1 = 202,
}
Expand description
Write protection key This byte is written by software. Reading this byte always returns 0x00. Refer to for a description of how to unlock RTC register write protection.
Value on reset: 0
Variants§
Activate = 0
0: Activate write protection (any value that is not the keys)
Deactivate2 = 83
83: Key 2
Deactivate1 = 202
202: Key 1
Trait Implementations§
impl Copy for KEY
impl Eq for KEY
impl IsEnum for KEY
impl StructuralPartialEq for KEY
Auto Trait Implementations§
impl Freeze for KEY
impl RefUnwindSafe for KEY
impl Send for KEY
impl Sync for KEY
impl Unpin for KEY
impl UnwindSafe for KEY
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