Enum atsame54n::i2s::txctrl::EXTENDSELECT_A
source · #[repr(u8)]pub enum EXTENDSELECT_A {
ZERO = 0,
ONE = 1,
MSBIT = 2,
LSBIT = 3,
}
Expand description
Data Formatting Bit Extension
Value on reset: 0
Variants§
ZERO = 0
0: Extend with zeroes
ONE = 1
1: Extend with ones
MSBIT = 2
2: Extend with Most Significant Bit
LSBIT = 3
3: Extend with Least Significant Bit
Trait Implementations§
source§impl Clone for EXTENDSELECT_A
impl Clone for EXTENDSELECT_A
source§fn clone(&self) -> EXTENDSELECT_A
fn clone(&self) -> EXTENDSELECT_A
Returns a copy 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 EXTENDSELECT_A
impl Debug for EXTENDSELECT_A
source§impl From<EXTENDSELECT_A> for u8
impl From<EXTENDSELECT_A> for u8
source§fn from(variant: EXTENDSELECT_A) -> Self
fn from(variant: EXTENDSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for EXTENDSELECT_A
impl PartialEq for EXTENDSELECT_A
source§fn eq(&self, other: &EXTENDSELECT_A) -> bool
fn eq(&self, other: &EXTENDSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EXTENDSELECT_A
impl Eq for EXTENDSELECT_A
impl StructuralPartialEq for EXTENDSELECT_A
Auto Trait Implementations§
impl Freeze for EXTENDSELECT_A
impl RefUnwindSafe for EXTENDSELECT_A
impl Send for EXTENDSELECT_A
impl Sync for EXTENDSELECT_A
impl Unpin for EXTENDSELECT_A
impl UnwindSafe for EXTENDSELECT_A
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