pub enum REFSELR {
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

Possible values of the field REFSEL

Variants§

§

REF1_8VDD

VDD * 1/8 selected as reference

§

REF2_8VDD

VDD * 2/8 selected as reference

§

REF3_8VDD

VDD * 3/8 selected as reference

§

REF4_8VDD

VDD * 4/8 selected as reference

§

REF5_8VDD

VDD * 5/8 selected as reference

§

REF6_8VDD

VDD * 6/8 selected as reference

§

REF7_8VDD

VDD * 7/8 selected as reference

§

AREF

External analog reference selected

§

REF1_16VDD

VDD * 1/16 selected as reference

§

REF3_16VDD

VDD * 3/16 selected as reference

§

REF5_16VDD

VDD * 5/16 selected as reference

§

REF7_16VDD

VDD * 7/16 selected as reference

§

REF9_16VDD

VDD * 9/16 selected as reference

§

REF11_16VDD

VDD * 11/16 selected as reference

§

REF13_16VDD

VDD * 13/16 selected as reference

§

REF15_16VDD

VDD * 15/16 selected as reference

Implementations§

Value of the field as raw bits

Checks if the value of the field is REF1_8VDD

Checks if the value of the field is REF2_8VDD

Checks if the value of the field is REF3_8VDD

Checks if the value of the field is REF4_8VDD

Checks if the value of the field is REF5_8VDD

Checks if the value of the field is REF6_8VDD

Checks if the value of the field is REF7_8VDD

Checks if the value of the field is AREF

Checks if the value of the field is REF1_16VDD

Checks if the value of the field is REF3_16VDD

Checks if the value of the field is REF5_16VDD

Checks if the value of the field is REF7_16VDD

Checks if the value of the field is REF9_16VDD

Checks if the value of the field is REF11_16VDD

Checks if the value of the field is REF13_16VDD

Checks if the value of the field is REF15_16VDD

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 !=. 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.

Should always be Self
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.