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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.