Enum stm32g4::stm32g431::adc1::cfgr2::OVSS_A[][src]

#[repr(u8)]pub enum OVSS_A {
    NOSHIFT,
    SHIFT1,
    SHIFT2,
    SHIFT3,
    SHIFT4,
    SHIFT5,
    SHIFT6,
    SHIFT7,
    SHIFT8,
}

Oversampling shift

Value on reset: 0

Variants

NOSHIFT

0: No right shift applied to oversampling result

SHIFT1

1: Shift oversampling result right by 1 bit

SHIFT2

2: Shift oversampling result right by 2 bits

SHIFT3

3: Shift oversampling result right by 3 bits

SHIFT4

4: Shift oversampling result right by 4 bits

SHIFT5

5: Shift oversampling result right by 5 bits

SHIFT6

6: Shift oversampling result right by 6 bits

SHIFT7

7: Shift oversampling result right by 7 bits

SHIFT8

8: Shift oversampling result right by 8 bits

Trait Implementations

impl Clone for OVSS_A[src]

impl Copy for OVSS_A[src]

impl Debug for OVSS_A[src]

impl PartialEq<OVSS_A> for OVSS_A[src]

impl StructuralPartialEq for OVSS_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, 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.