#[repr(u8)]pub enum SAMPRSELECT_A {
_16X_ARITHMETIC = 0,
_16X_FRACTIONAL = 1,
_8X_ARITHMETIC = 2,
_8X_FRACTIONAL = 3,
_3X_ARITHMETIC = 4,
}
Expand description
Sample
Value on reset: 0
Variants§
_16X_ARITHMETIC = 0
0: 16x over-sampling using arithmetic baudrate generation
_16X_FRACTIONAL = 1
1: 16x over-sampling using fractional baudrate generation
_8X_ARITHMETIC = 2
2: 8x over-sampling using arithmetic baudrate generation
_8X_FRACTIONAL = 3
3: 8x over-sampling using fractional baudrate generation
_3X_ARITHMETIC = 4
4: 3x over-sampling using arithmetic baudrate generation
Trait Implementations§
source§impl Clone for SAMPRSELECT_A
impl Clone for SAMPRSELECT_A
source§fn clone(&self) -> SAMPRSELECT_A
fn clone(&self) -> SAMPRSELECT_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 SAMPRSELECT_A
impl Debug for SAMPRSELECT_A
source§impl From<SAMPRSELECT_A> for u8
impl From<SAMPRSELECT_A> for u8
source§fn from(variant: SAMPRSELECT_A) -> Self
fn from(variant: SAMPRSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for SAMPRSELECT_A
impl PartialEq for SAMPRSELECT_A
source§fn eq(&self, other: &SAMPRSELECT_A) -> bool
fn eq(&self, other: &SAMPRSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SAMPRSELECT_A
impl Eq for SAMPRSELECT_A
impl StructuralPartialEq for SAMPRSELECT_A
Auto Trait Implementations§
impl Freeze for SAMPRSELECT_A
impl RefUnwindSafe for SAMPRSELECT_A
impl Send for SAMPRSELECT_A
impl Sync for SAMPRSELECT_A
impl Unpin for SAMPRSELECT_A
impl UnwindSafe for SAMPRSELECT_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