[][src]Enum ambiq_apollo3_pac::adc::sl2cfg::CHSEL2R

pub enum CHSEL2R {
    SE0,
    SE1,
    SE2,
    SE3,
    SE4,
    SE5,
    SE6,
    SE7,
    SE8,
    SE9,
    DF0,
    DF1,
    TEMP,
    BATT,
    VSS,
    _Reserved(u8),
}

Possible values of the field CHSEL2

Variants

SE0

single ended external GPIO connection to pad16. value.

SE1

single ended external GPIO connection to pad29. value.

SE2

single ended external GPIO connection to pad11. value.

SE3

single ended external GPIO connection to pad31. value.

SE4

single ended external GPIO connection to pad32. value.

SE5

single ended external GPIO connection to pad33. value.

SE6

single ended external GPIO connection to pad34. value.

SE7

single ended external GPIO connection to pad35. value.

SE8

single ended external GPIO connection to pad13. value.

SE9

single ended external GPIO connection to pad12. value.

DF0

differential external GPIO connections to pad12(N) and pad13(P). value.

DF1

differential external GPIO connections to pad15(N) and pad14(P). value.

TEMP

internal temperature sensor. value.

BATT

internal voltage divide-by-3 connection. value.

VSS

Input VSS value.

_Reserved(u8)

Reserved

Methods

impl CHSEL2R[src]

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

Value of the field as raw bits

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

Checks if the value of the field is SE0

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

Checks if the value of the field is SE1

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

Checks if the value of the field is SE2

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

Checks if the value of the field is SE3

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

Checks if the value of the field is SE4

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

Checks if the value of the field is SE5

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

Checks if the value of the field is SE6

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

Checks if the value of the field is SE7

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

Checks if the value of the field is SE8

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

Checks if the value of the field is SE9

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

Checks if the value of the field is DF0

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

Checks if the value of the field is DF1

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

Checks if the value of the field is TEMP

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

Checks if the value of the field is BATT

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

Checks if the value of the field is VSS

Trait Implementations

impl Copy for CHSEL2R[src]

impl Debug for CHSEL2R[src]

impl PartialEq<CHSEL2R> for CHSEL2R[src]

impl Clone for CHSEL2R[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 CHSEL2R

impl Sync for CHSEL2R

Blanket Implementations

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> From for T[src]

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