[][src]Enum nrf52840_hal::saadc::Oversample

#[repr(u8)]pub enum Oversample {
    BYPASS,
    OVER2X,
    OVER4X,
    OVER8X,
    OVER16X,
    OVER32X,
    OVER64X,
    OVER128X,
    OVER256X,
}

Oversample control

Value on reset: 0

Variants

BYPASS

0: Bypass oversampling

OVER2X

1: Oversample 2x

OVER4X

2: Oversample 4x

OVER8X

3: Oversample 8x

OVER16X

4: Oversample 16x

OVER32X

5: Oversample 32x

OVER64X

6: Oversample 64x

OVER128X

7: Oversample 128x

OVER256X

8: Oversample 256x

Trait Implementations

impl Clone for OVERSAMPLE_A[src]

impl Copy for OVERSAMPLE_A[src]

impl Debug for OVERSAMPLE_A[src]

impl PartialEq<OVERSAMPLE_A> for OVERSAMPLE_A[src]

impl StructuralPartialEq for OVERSAMPLE_A[src]

Auto Trait Implementations

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.