#[repr(u8)]
pub enum LOCK_A {
Off,
Level1,
Level2,
Level3,
}
Expand description
Lock configuration
Value on reset: 0
Variants
Off
0: No write protection
Level1
1: Level 1 write protection
Level2
2: Level 2 write protection
Level3
3: Level 3 write protection
Trait Implementations
impl Copy for LOCK_A
impl StructuralPartialEq for LOCK_A
Auto Trait Implementations
impl RefUnwindSafe for LOCK_A
impl Send for LOCK_A
impl Sync for LOCK_A
impl Unpin for LOCK_A
impl UnwindSafe for LOCK_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more