#[repr(u8)]pub enum PROT_A {
RWNPW,
RWPW,
RONPW,
}
Expand description
Protection Control
Value on reset: 0
Variants§
RWNPW
0: This setting is the default. If there is no password, the block is not protected and is readable and writable
RWPW
1: If there is a password, the block is readable or writable only when unlocked
RONPW
2: If there is no password, the block is readable, not writable
Trait Implementations§
source§impl PartialEq<PROT_A> for PROT_A
impl PartialEq<PROT_A> for PROT_A
impl Copy for PROT_A
impl StructuralPartialEq for PROT_A
Auto Trait Implementations§
impl RefUnwindSafe for PROT_A
impl Send for PROT_A
impl Sync for PROT_A
impl Unpin for PROT_A
impl UnwindSafe for PROT_A
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