Enum stm32l0xx_hal::pac::syscfg::comp2_csr::COMP2LOCK_A
source · [−]pub enum COMP2LOCK_A {
ReadWrite,
ReadOnly,
}
Expand description
COMP2_CSR register lock bit
Value on reset: 0
Variants
ReadWrite
0: COMP2_CSR[31:0] for comparator 2 are read/write
ReadOnly
1: COMP2_CSR[31:0] for comparator 2 are read-only
Trait Implementations
sourceimpl Clone for COMP2LOCK_A
impl Clone for COMP2LOCK_A
sourcefn clone(&self) -> COMP2LOCK_A
fn clone(&self) -> COMP2LOCK_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for COMP2LOCK_A
impl Debug for COMP2LOCK_A
sourceimpl PartialEq<COMP2LOCK_A> for COMP2LOCK_A
impl PartialEq<COMP2LOCK_A> for COMP2LOCK_A
impl Copy for COMP2LOCK_A
impl StructuralPartialEq for COMP2LOCK_A
Auto Trait Implementations
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
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