#[repr(u8)]
pub enum SREF_A {
    SREF_0,
    SREF_1,
    SREF_2,
    SREF_3,
    SREF_4,
    SREF_5,
    SREF_6,
    SREF_7,
}
Expand description

ADC10 Reference Select Bit: 0

Value on reset: 0

Variants

SREF_0

0: VR+ = AVCC and VR- = AVSS

SREF_1

1: VR+ = VREF+ and VR- = AVSS

SREF_2

2: VR+ = VEREF+ and VR- = AVSS

SREF_3

3: VR+ = VEREF+ and VR- = AVSS

SREF_4

4: VR+ = AVCC and VR- = VREF-/VEREF-

SREF_5

5: VR+ = VREF+ and VR- = VREF-/VEREF-

SREF_6

6: VR+ = VEREF+ and VR- = VREF-/VEREF-

SREF_7

7: VR+ = VEREF+ and VR- = VREF-/VEREF-

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

Performs the conversion.

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.