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