pub enum COMP2LOCK_A {
UNLOCKED = 0,
LOCKED = 1,
}
Expand description
Comparator 2 lock
Value on reset: 0
Variants§
UNLOCKED = 0
0: Comparator 2 CSR bits (CSR[31:16]) are read-write
LOCKED = 1
1: Comparator 2 CSR bits (CSR[31:16]) are read-only
Trait Implementations§
Source§impl Clone for COMP2LOCK_A
impl Clone for COMP2LOCK_A
Source§fn clone(&self) -> COMP2LOCK_A
fn clone(&self) -> COMP2LOCK_A
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for COMP2LOCK_A
impl Debug for COMP2LOCK_A
Source§impl PartialEq for COMP2LOCK_A
impl PartialEq for COMP2LOCK_A
impl Copy for COMP2LOCK_A
impl StructuralPartialEq for COMP2LOCK_A
Auto Trait Implementations§
impl Freeze for COMP2LOCK_A
impl RefUnwindSafe for COMP2LOCK_A
impl Send for COMP2LOCK_A
impl Sync for COMP2LOCK_A
impl Unpin for COMP2LOCK_A
impl UnwindSafe for COMP2LOCK_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