[][src]Enum ambiq_apollo1_pac::adc::cfg::REFSEL_A

#[repr(u8)]
pub enum REFSEL_A {
    INTERNAL,
    VDD,
    ADCREF,
    UNDEFINED,
}

Select the ADC reference voltage.

Value on reset: 0

Variants

INTERNAL

0: Internal Bandgap Reference Voltage

VDD

1: Select VDD as the ADEC reference voltage.

ADCREF

2: Off Chip Reference (ADC_REF)

UNDEFINED

3: Reserved

Trait Implementations

impl Clone for REFSEL_A[src]

impl Copy for REFSEL_A[src]

impl Debug for REFSEL_A[src]

impl From<REFSEL_A> for u8[src]

impl PartialEq<REFSEL_A> for REFSEL_A[src]

impl StructuralPartialEq for REFSEL_A[src]

Auto Trait Implementations

impl Send for REFSEL_A

impl Sync for REFSEL_A

impl Unpin for REFSEL_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.