#[repr(u8)]pub enum Wrprot {
Disabled = 0,
Enabled = 1,
DisabledLocked = 2,
EnabledLocked = 3,
}Expand description
Write protect
Value on reset: 0
Variants§
Disabled = 0
0: Write protection off (default).
Enabled = 1
1: Write protection on.
DisabledLocked = 2
2: Write protection off and locked until chip reset.
EnabledLocked = 3
3: Write protection on and locked until chip reset.
Trait Implementations§
impl Copy for Wrprot
impl Eq for Wrprot
impl IsEnum for Wrprot
impl StructuralPartialEq for Wrprot
Auto Trait Implementations§
impl Freeze for Wrprot
impl RefUnwindSafe for Wrprot
impl Send for Wrprot
impl Sync for Wrprot
impl Unpin for Wrprot
impl UnsafeUnpin for Wrprot
impl UnwindSafe for Wrprot
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