#[repr(u8)]pub enum Wrprot {
DISABLED = 0,
ENABLED = 1,
DISABLED_LOCKED = 2,
ENABLED_LOCKED = 3,
}Variants§
DISABLED = 0
Write protection off (default).
ENABLED = 1
Write protection on.
DISABLED_LOCKED = 2
Write protection off and locked until chip reset.
ENABLED_LOCKED = 3
Write protection on and locked until chip reset.
Implementations§
Trait Implementations§
Source§impl Ord for Wrprot
impl Ord for Wrprot
Source§impl PartialOrd for Wrprot
impl PartialOrd for Wrprot
impl Copy for Wrprot
impl Eq 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 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