[][src]Enum nrf52832_hal::nrf52832_pac::lpcomp::refsel::REFSELR

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

Possible values of the field REFSEL

Variants

VDD * 1/8 selected as reference

VDD * 2/8 selected as reference

VDD * 3/8 selected as reference

VDD * 4/8 selected as reference

VDD * 5/8 selected as reference

VDD * 6/8 selected as reference

VDD * 7/8 selected as reference

External analog reference selected

VDD * 1/16 selected as reference

VDD * 3/16 selected as reference

VDD * 5/16 selected as reference

VDD * 7/16 selected as reference

VDD * 9/16 selected as reference

VDD * 11/16 selected as reference

VDD * 13/16 selected as reference

VDD * 15/16 selected as reference

Methods

impl REFSELR
[src]

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

impl Copy for REFSELR
[src]

impl Clone for REFSELR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for REFSELR
[src]

Formats the value using the given formatter. Read more

impl PartialEq<REFSELR> for REFSELR
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for REFSELR

impl Sync for REFSELR

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more