[−][src]Enum lpc55s6x_pac::adc0::cmdl13::ADCHR
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][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self