#[repr(u8)]pub enum LockS2 {
LOCK_S2_0 = 0,
LOCK_S2_1 = 1,
}Variants§
LOCK_S2_0 = 0
Not locked. Bits 7-0 can be written by the software.
LOCK_S2_1 = 1
Bits 7-0 are locked and cannot be written by the software
Implementations§
Trait Implementations§
Source§impl Ord for LockS2
impl Ord for LockS2
Source§impl PartialOrd for LockS2
impl PartialOrd for LockS2
impl Copy for LockS2
impl Eq for LockS2
impl StructuralPartialEq for LockS2
Auto Trait Implementations§
impl Freeze for LockS2
impl RefUnwindSafe for LockS2
impl Send for LockS2
impl Sync for LockS2
impl Unpin for LockS2
impl UnwindSafe for LockS2
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