Enum kea_hal::adc::AdcResolution[][src]

#[repr(u8)]
pub enum AdcResolution {
    _8bit,
    _10bit,
    _12bit,
}
Expand description

This enum represents the availabe ADC resolutions

Regardless of resolution chosen, results are always right justified

Variants

_8bit

8 bit AD conversion mode

_10bit

10 bit AD conversion mode

_12bit

12 bit AD conversion mode

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.