[][src]Enum stm32l0xx_hal::adc::Align

pub enum Align {
    Right,
    Left,
}

ADC Result Alignment

Variants

Right

Right aligned results (least significant bits)

Results in all precisions returning values from 0-(2^bits-1) in steps of 1.

Left

Left aligned results (most significant bits)

Results in all precisions returning a value in the range 0-65535. Depending on the precision the result will step by larger or smaller amounts.

Trait Implementations

impl PartialEq<Align> for Align[src]

Auto Trait Implementations

impl Unpin for Align

impl Send for Align

impl Sync for Align

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self