pub enum Align {
Right,
Left,
}
Expand description
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§
Auto Trait Implementations§
impl Freeze for Align
impl RefUnwindSafe for Align
impl Send for Align
impl Sync for Align
impl Unpin for Align
impl UnwindSafe for Align
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more