[][src]Enum nrf52832_hal::target::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

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

Methods

impl REFSELR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_ref1_8vdd(&self) -> bool[src]

Checks if the value of the field is REF1_8VDD

pub fn is_ref2_8vdd(&self) -> bool[src]

Checks if the value of the field is REF2_8VDD

pub fn is_ref3_8vdd(&self) -> bool[src]

Checks if the value of the field is REF3_8VDD

pub fn is_ref4_8vdd(&self) -> bool[src]

Checks if the value of the field is REF4_8VDD

pub fn is_ref5_8vdd(&self) -> bool[src]

Checks if the value of the field is REF5_8VDD

pub fn is_ref6_8vdd(&self) -> bool[src]

Checks if the value of the field is REF6_8VDD

pub fn is_ref7_8vdd(&self) -> bool[src]

Checks if the value of the field is REF7_8VDD

pub fn is_aref(&self) -> bool[src]

Checks if the value of the field is AREF

pub fn is_ref1_16vdd(&self) -> bool[src]

Checks if the value of the field is REF1_16VDD

pub fn is_ref3_16vdd(&self) -> bool[src]

Checks if the value of the field is REF3_16VDD

pub fn is_ref5_16vdd(&self) -> bool[src]

Checks if the value of the field is REF5_16VDD

pub fn is_ref7_16vdd(&self) -> bool[src]

Checks if the value of the field is REF7_16VDD

pub fn is_ref9_16vdd(&self) -> bool[src]

Checks if the value of the field is REF9_16VDD

pub fn is_ref11_16vdd(&self) -> bool[src]

Checks if the value of the field is REF11_16VDD

pub fn is_ref13_16vdd(&self) -> bool[src]

Checks if the value of the field is REF13_16VDD

pub fn is_ref15_16vdd(&self) -> bool[src]

Checks if the value of the field is REF15_16VDD

Trait Implementations

impl PartialEq<REFSELR> for REFSELR[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for REFSELR[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for REFSELR[src]

impl Debug for REFSELR[src]

Auto Trait Implementations

impl Send for REFSELR

impl Sync for REFSELR

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self