#[repr(u8)]
pub enum EXTREFSEL_A {
    ANALOG_REFERENCE0,
    ANALOG_REFERENCE1,
    ANALOG_REFERENCE2,
    ANALOG_REFERENCE3,
    ANALOG_REFERENCE4,
    ANALOG_REFERENCE5,
    ANALOG_REFERENCE6,
    ANALOG_REFERENCE7,
}
Expand description

External analog reference select

Value on reset: 0

Variants

ANALOG_REFERENCE0

0: Use AIN0 as external analog reference

ANALOG_REFERENCE1

1: Use AIN1 as external analog reference

ANALOG_REFERENCE2

2: Use AIN2 as external analog reference

ANALOG_REFERENCE3

3: Use AIN3 as external analog reference

ANALOG_REFERENCE4

4: Use AIN4 as external analog reference

ANALOG_REFERENCE5

5: Use AIN5 as external analog reference

ANALOG_REFERENCE6

6: Use AIN6 as external analog reference

ANALOG_REFERENCE7

7: Use AIN7 as external analog reference

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
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.