[−][src]Enum stm32f0xx_hal::adc::AdcAlign
ADC Result Alignment
Variants
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.
Right aligned results (least significant bits)
Results in all precisions returning values from 0-(2^bits-1) in steps of 1.
Left aligned results without correction of 6bit values.
Returns left aligned results exactly as shown in RM0091 Fig.37. Where the values are left aligned within the u16, with the exception of 6 bit mode where the value is left aligned within the first byte of the u16.
Implementations
impl AdcAlign
[src]
Trait Implementations
impl Clone for AdcAlign
[src]
fn clone(&self) -> AdcAlign
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AdcAlign
[src]
impl Debug for AdcAlign
[src]
impl From<AdcAlign> for ALIGN_A
[src]
impl PartialEq<AdcAlign> for AdcAlign
[src]
impl StructuralPartialEq for AdcAlign
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,