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

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

ADC Sampling Precision

Variants

B_12

12 bit precision

B_10

10 bit precision

B_8

8 bit precision

B_6

6 bit precision

Methods

impl AdcPrecision[src]

pub fn default() -> Self[src]

Get the default precision (currently 12 bit precision)

Trait Implementations

impl Copy for AdcPrecision[src]

impl From<AdcPrecision> for RESW[src]

impl Debug for AdcPrecision[src]

impl PartialEq<AdcPrecision> for AdcPrecision[src]

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

This method tests for !=.

impl Clone for AdcPrecision[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> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

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]