pub enum COMP2LOCK {
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§
impl Copy for COMP2LOCK
impl Eq for COMP2LOCK
impl StructuralPartialEq for COMP2LOCK
Auto Trait Implementations§
impl Freeze for COMP2LOCK
impl RefUnwindSafe for COMP2LOCK
impl Send for COMP2LOCK
impl Sync for COMP2LOCK
impl Unpin for COMP2LOCK
impl UnwindSafe for COMP2LOCK
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