#[repr(u8)]
pub enum REFSEL_A {
Show 16 variants REF1_8VDD, REF2_8VDD, REF3_8VDD, REF4_8VDD, REF5_8VDD, REF6_8VDD, REF7_8VDD, AREF, REF1_16VDD, REF3_16VDD, REF5_16VDD, REF7_16VDD, REF9_16VDD, REF11_16VDD, REF13_16VDD, REF15_16VDD,
}
Expand description

Reference select

Value on reset: 4

Variants

REF1_8VDD

0: VDD * 1/8 selected as reference

REF2_8VDD

1: VDD * 2/8 selected as reference

REF3_8VDD

2: VDD * 3/8 selected as reference

REF4_8VDD

3: VDD * 4/8 selected as reference

REF5_8VDD

4: VDD * 5/8 selected as reference

REF6_8VDD

5: VDD * 6/8 selected as reference

REF7_8VDD

6: VDD * 7/8 selected as reference

AREF

7: External analog reference selected

REF1_16VDD

8: VDD * 1/16 selected as reference

REF3_16VDD

9: VDD * 3/16 selected as reference

REF5_16VDD

10: VDD * 5/16 selected as reference

REF7_16VDD

11: VDD * 7/16 selected as reference

REF9_16VDD

12: VDD * 9/16 selected as reference

REF11_16VDD

13: VDD * 11/16 selected as reference

REF13_16VDD

14: VDD * 13/16 selected as reference

REF15_16VDD

15: VDD * 15/16 selected as 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

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

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Returns the argument unchanged.

Calls U::from(self).

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

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.