#[repr(u8)]pub enum Unlock {
Unlocked = 2,
Locked = 3,
}Expand description
Flash Unlock. The correct unlock code must be written to these four bits before any Flash write or erase operation is allowed.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for Unlock
impl Eq for Unlock
impl IsEnum for Unlock
impl StructuralPartialEq for Unlock
Auto Trait Implementations§
impl Freeze for Unlock
impl RefUnwindSafe for Unlock
impl Send for Unlock
impl Sync for Unlock
impl Unpin for Unlock
impl UnwindSafe for Unlock
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