[][src]Enum stm32f0xx_hal::adc::AdcSampleTime

pub enum AdcSampleTime {
    T_1,
    T_7,
    T_13,
    T_28,
    T_41,
    T_55,
    T_71,
    T_239,
}

ADC Sampling time

Options for the sampling time, each is T + 0.5 ADC clock cycles.

Variants

T_1

1.5 cycles sampling time

T_7

7.5 cycles sampling time

T_13

13.5 cycles sampling time

T_28

28.5 cycles sampling time

T_41

41.5 cycles sampling time

T_55

55.5 cycles sampling time

T_71

71.5 cycles sampling time

T_239

239.5 cycles sampling time

Implementations

impl AdcSampleTime[src]

pub fn default() -> Self[src]

Get the default sample time (currently 239.5 cycles)

Trait Implementations

impl Clone for AdcSampleTime[src]

impl Copy for AdcSampleTime[src]

impl Debug for AdcSampleTime[src]

impl From<AdcSampleTime> for SMP_A[src]

impl PartialEq<AdcSampleTime> for AdcSampleTime[src]

impl StructuralPartialEq for AdcSampleTime[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.