[][src]Enum lpc55s6x_pac::adc0::cmdl15::ADCHR

pub enum ADCHR {
    ADCH_0,
    ADCH_1,
    ADCH_2,
    ADCH_3,
    ADCH_4,
    ADCH_5,
    ADCH_6,
    ADCH_7,
    ADCH_8,
    ADCH_9,
    ADCH_30,
    ADCH_31,
    _Reserved(u8),
}
[]

Possible values of the field ADCH

Variants

ADCH_0
[]

Select CH0A or CH0B or CH0A/CH0B pair.

ADCH_1
[]

Select CH1A or CH1B or CH1A/CH1B pair.

ADCH_2
[]

Select CH2A or CH2B or CH2A/CH2B pair.

ADCH_3
[]

Select CH3A or CH3B or CH3A/CH3B pair.

ADCH_4
[]

Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.

ADCH_5
[]

Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.

ADCH_6
[]

Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.

ADCH_7
[]

Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.

ADCH_8
[]

Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.

ADCH_9
[]

Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.

ADCH_30
[]

Select CH30A or CH30B or CH30A/CH30B pair.

ADCH_31
[]

Select CH31A or CH31B or CH31A/CH31B pair.

_Reserved(u8)
[]

Reserved

Methods

impl ADCHR[src][]

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

Value of the field as raw bits

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

Checks if the value of the field is ADCH_0

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

Checks if the value of the field is ADCH_1

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

Checks if the value of the field is ADCH_2

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

Checks if the value of the field is ADCH_3

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

Checks if the value of the field is ADCH_4

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

Checks if the value of the field is ADCH_5

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

Checks if the value of the field is ADCH_6

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

Checks if the value of the field is ADCH_7

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

Checks if the value of the field is ADCH_8

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

Checks if the value of the field is ADCH_9

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

Checks if the value of the field is ADCH_30

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

Checks if the value of the field is ADCH_31

Trait Implementations

impl PartialEq<ADCHR> for ADCHR[src][+]

impl Copy for ADCHR[src]

impl Debug for ADCHR[src][+]

impl Clone for ADCHR[src][+]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for ADCHR

impl Sync for ADCHR

Blanket Implementations

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

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, 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[src]

type Output = T

Should always be Self