Enum stm32f0xx_hal::adc::AdcPrecision[][src]

pub enum AdcPrecision {
    B_12,
    B_10,
    B_8,
    B_6,
}
Expand description

ADC Sampling Precision

Variants

B_12

12 bit precision

B_10

10 bit precision

B_8

8 bit precision

B_6

6 bit precision

Implementations

Get the default precision (currently 12 bit precision)

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

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.