pub enum SampleTime {
    Cycles1_5,
    Cycles7_5,
    Cycles13_5,
    Cycles28_5,
    Cycles41_5,
    Cycles55_5,
    Cycles71_5,
    Cycles239_5,
}
Expand description

ADC sampling time

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

Variants

Cycles1_5

1.5 cycles sampling time

Cycles7_5

7.5 cycles sampling time

Cycles13_5

13.5 cycles sampling time

Cycles28_5

28.5 cycles sampling time

Cycles41_5

41.5 cycles sampling time

Cycles55_5

55.5 cycles sampling time

Cycles71_5

71.5 cycles sampling time

Cycles239_5

239.5 cycles sampling time

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Get the default sample time (currently 28.5 cycles)

Converts to this type from the input type.

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.