pub enum DataAlignment {
Right,
Left,
}Expand description
Configure the data register alignment.
At the end of each regular conversion channel (when EOC event occurs), the result of the converted data is stored into the data register which is 16 bits wide.
For more details see RM0316 Figure 82-85..
§Related functions
Variants§
Trait Implementations§
Source§impl Clone for DataAlignment
impl Clone for DataAlignment
Source§fn clone(&self) -> DataAlignment
fn clone(&self) -> DataAlignment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataAlignment
impl Debug for DataAlignment
Source§impl Default for DataAlignment
impl Default for DataAlignment
Source§impl From<ALIGN_A> for DataAlignment
impl From<ALIGN_A> for DataAlignment
Source§impl From<DataAlignment> for ALIGN_A
impl From<DataAlignment> for ALIGN_A
Source§fn from(a: DataAlignment) -> Self
fn from(a: DataAlignment) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DataAlignment
impl PartialEq for DataAlignment
impl Copy for DataAlignment
impl Eq for DataAlignment
impl StructuralPartialEq for DataAlignment
Auto Trait Implementations§
impl Freeze for DataAlignment
impl RefUnwindSafe for DataAlignment
impl Send for DataAlignment
impl Sync for DataAlignment
impl Unpin for DataAlignment
impl UnwindSafe for DataAlignment
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