[][src]Enum ambiq_apollo1_pac::adc::sl1cfg::CHSEL1_A

#[repr(u8)]
pub enum CHSEL1_A {
    EXT0,
    EXT1,
    EXT2,
    EXT3,
    EXT4,
    EXT5,
    EXT6,
    EXT7,
    TEMP,
    VDD,
    VSS,
    VBATT,
}

Select one of the 13 channel inputs for this slot.

Value on reset: 0

Variants

EXT0

0: ADC_EXT0 external GPIO pin connection.

EXT1

1: ADC_EXT1 external GPIO pin connection.

EXT2

2: ADC_EXT2 external GPIO pin connection.

EXT3

3: ADC_EXT3 external GPIO pin connection.

EXT4

4: ADC_EXT4 external GPIO pin connection.

EXT5

5: ADC_EXT5 external GPIO pin connection.

EXT6

6: ADC_EXT6 external GPIO pin connection.

EXT7

7: ADC_EXT7 external GPIO pin connection.

TEMP

8: ADC_TEMP internal temperature sensor.

VDD

9: ADC_VDD internal power rail connection.

VSS

10: ADC_VSS internal ground connection.

VBATT

12: ADC_VBATT internal voltage divide-by-3 connection to input power rail.

Trait Implementations

impl Clone for CHSEL1_A[src]

impl Copy for CHSEL1_A[src]

impl Debug for CHSEL1_A[src]

impl From<CHSEL1_A> for u8[src]

impl PartialEq<CHSEL1_A> for CHSEL1_A[src]

impl StructuralPartialEq for CHSEL1_A[src]

Auto Trait Implementations

impl Send for CHSEL1_A

impl Sync for CHSEL1_A

impl Unpin for CHSEL1_A

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.