[][src]Enum stm32f3xx_hal_v2::adc::SampleTime

pub enum SampleTime {
    T_1,
    T_2,
    T_4,
    T_7,
    T_19,
    T_61,
    T_181,
    T_601,
}

ADC sampling time

Each channel can be sampled with a different sample time. There is always an overhead of 13 ADC clock cycles. E.g. For Sampletime T_19 the total conversion time (in ADC clock cycles) is 13 + 19 = 32 ADC Clock Cycles

Variants

T_1

1.5 ADC clock cycles

T_2

2.5 ADC clock cycles

T_4

4.5 ADC clock cycles

T_7

7.5 ADC clock cycles

T_19

19.5 ADC clock cycles

T_61

61.5 ADC clock cycles

T_181

181.5 ADC clock cycles

T_601

601.5 ADC clock cycles

Trait Implementations

impl Default for SampleTime[src]

pub fn default() -> Self[src]

T_1 is also the reset value.

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.