[][src]Enum stm32f0xx_hal::pac::comp::csr::COMP1INSEL_A

#[repr(u8)]pub enum COMP1INSEL_A {
    ONEQUARTERVREF,
    ONEHALFVREF,
    THREEQUARTERVREF,
    VREF,
    COMP1_INM4,
    COMP1_INM5,
    COMP1_INM6,
}

Comparator 1 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

COMP1_INM4

4: COMP1_INM4 (PA4 with DAC_OUT1 if enabled)

COMP1_INM5

5: COMP1_INM5 (PA5 with DAC_OUT2 if present and enabled)

COMP1_INM6

6: COMP1_INM6 (PA0)

Trait Implementations

impl Clone for COMP1INSEL_A[src]

impl Copy for COMP1INSEL_A[src]

impl Debug for COMP1INSEL_A[src]

impl PartialEq<COMP1INSEL_A> for COMP1INSEL_A[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.