#[repr(u8)]pub enum Samprselect {
_16xArithmetic = 0,
_16xFractional = 1,
_8xArithmetic = 2,
_8xFractional = 3,
_3xArithmetic = 4,
}
Expand description
Sample
Value on reset: 0
Variants§
_16xArithmetic = 0
0: 16x over-sampling using arithmetic baudrate generation
_16xFractional = 1
1: 16x over-sampling using fractional baudrate generation
_8xArithmetic = 2
2: 8x over-sampling using arithmetic baudrate generation
_8xFractional = 3
3: 8x over-sampling using fractional baudrate generation
_3xArithmetic = 4
4: 3x over-sampling using arithmetic baudrate generation
Trait Implementations§
Source§impl Clone for Samprselect
impl Clone for Samprselect
Source§fn clone(&self) -> Samprselect
fn clone(&self) -> Samprselect
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
impl Debug for Samprselect
Source§impl From<Samprselect> for u8
impl From<Samprselect> for u8
Source§fn from(variant: Samprselect) -> Self
fn from(variant: Samprselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Samprselect
impl PartialEq for Samprselect
impl Copy for Samprselect
impl Eq for Samprselect
impl IsEnum for Samprselect
impl StructuralPartialEq for Samprselect
Auto Trait Implementations§
impl Freeze for Samprselect
impl RefUnwindSafe for Samprselect
impl Send for Samprselect
impl Sync for Samprselect
impl Unpin for Samprselect
impl UnwindSafe for Samprselect
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