#[repr(u8)]
pub enum COMP4INMSEL_A {
OneQuarterVref,
OneHalfVref,
ThreeQuarterVref,
Vref,
Pa4Dac1Ch1,
Dac1Ch2,
Pb2,
}
Expand description
Comparator 4 inverting input selection
Value on reset: 0
Variants
OneQuarterVref
0: 1/4 of VRefint
OneHalfVref
1: 1/2 of VRefint
ThreeQuarterVref
2: 3/4 of VRefint
Vref
3: VRefint
Pa4Dac1Ch1
4: PA4 or DAC1_CH1 output if enabled
Dac1Ch2
5: DAC1_CH2
Pb2
7: PB2
Trait Implementations
sourceimpl Clone for COMP4INMSEL_A
impl Clone for COMP4INMSEL_A
sourcefn clone(&self) -> COMP4INMSEL_A
fn clone(&self) -> COMP4INMSEL_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 COMP4INMSEL_A
impl Debug for COMP4INMSEL_A
sourceimpl From<COMP4INMSEL_A> for u8
impl From<COMP4INMSEL_A> for u8
sourcefn from(variant: COMP4INMSEL_A) -> Self
fn from(variant: COMP4INMSEL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<COMP4INMSEL_A> for COMP4INMSEL_A
impl PartialEq<COMP4INMSEL_A> for COMP4INMSEL_A
impl Copy for COMP4INMSEL_A
impl StructuralPartialEq for COMP4INMSEL_A
Auto Trait Implementations
impl RefUnwindSafe for COMP4INMSEL_A
impl Send for COMP4INMSEL_A
impl Sync for COMP4INMSEL_A
impl Unpin for COMP4INMSEL_A
impl UnwindSafe for COMP4INMSEL_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