[][src]Enum stm32f1xx_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

Methods

impl AdcSampleTime[src]

pub fn default() -> Self[src]

Get the default sample time (currently 28.5 cycles)

Trait Implementations

impl Copy for AdcSampleTime[src]

impl Debug for AdcSampleTime[src]

impl PartialEq<AdcSampleTime> for AdcSampleTime[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl From<AdcSampleTime> for u8[src]

impl Clone for AdcSampleTime[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self