[][src]Enum ambiq_apollo1_pac::adc::sl0cfg::ADSEL0_A

#[repr(u8)]
pub enum ADSEL0_A {
    AVG_1_MSRMT,
    AVG_2_MSRMTS,
    AVG_4_MSRMTS,
    AVG_8_MSRMT,
    AVG_16_MSRMTS,
    AVG_32_MSRMTS,
    AVG_64_MSRMTS,
    AVG_128_MSRMTS,
}

Select the number of measurements to average in the accumulate divide module for this slot.

Value on reset: 0

Variants

AVG_1_MSRMT

0: Average in 1 measurement in the accumulate divide module for this slot.

AVG_2_MSRMTS

1: Average in 2 measurements in the accumulate divide module for this slot.

AVG_4_MSRMTS

2: Average in 4 measurements in the accumulate divide module for this slot.

AVG_8_MSRMT

3: Average in 8 measurements in the accumulate divide module for this slot.

AVG_16_MSRMTS

4: Average in 16 measurements in the accumulate divide module for this slot.

AVG_32_MSRMTS

5: Average in 32 measurements in the accumulate divide module for this slot.

AVG_64_MSRMTS

6: Average in 64 measurements in the accumulate divide module for this slot.

AVG_128_MSRMTS

7: Average in 128 measurements in the accumulate divide module for this slot.

Trait Implementations

impl Clone for ADSEL0_A[src]

impl Copy for ADSEL0_A[src]

impl Debug for ADSEL0_A[src]

impl From<ADSEL0_A> for u8[src]

impl PartialEq<ADSEL0_A> for ADSEL0_A[src]

impl StructuralPartialEq for ADSEL0_A[src]

Auto Trait Implementations

impl Send for ADSEL0_A

impl Sync for ADSEL0_A

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