[][src]Enum lpc81x_pac::cmp::ctrl::COMP_VP_SELR

pub enum COMP_VP_SELR {
    VOLTAGE_LADDER_OUTPU,
    ACMP_I1,
    ACMP_I2,
    INTERNAL_REFERENCE_V,
}

Possible values of the field COMP_VP_SEL

Variants

VOLTAGE_LADDER_OUTPU

Voltage ladder output

ACMP_I1

ACMP_I1

ACMP_I2

ACMP_I2

INTERNAL_REFERENCE_V

Internal reference voltage

Methods

impl COMP_VP_SELR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is VOLTAGE_LADDER_OUTPU

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

Checks if the value of the field is ACMP_I1

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

Checks if the value of the field is ACMP_I2

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

Checks if the value of the field is INTERNAL_REFERENCE_V

Trait Implementations

impl PartialEq<COMP_VP_SELR> for COMP_VP_SELR[src]

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

This method tests for !=.

impl Debug for COMP_VP_SELR[src]

impl Copy for COMP_VP_SELR[src]

impl Clone for COMP_VP_SELR[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self