[][src]Enum stm32f1xx_hal::adc::SampleTime

pub enum SampleTime {
    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

Trait Implementations

impl Clone for SampleTime[src]

impl Copy for SampleTime[src]

impl Debug for SampleTime[src]

impl Default for SampleTime[src]

fn default() -> Self[src]

Get the default sample time (currently 28.5 cycles)

impl From<SampleTime> for u8[src]

impl PartialEq<SampleTime> for SampleTime[src]

impl StructuralPartialEq for SampleTime[src]

Auto Trait Implementations

impl Send for SampleTime

impl Sync for SampleTime

impl Unpin for SampleTime

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.