#[repr(u8)]pub enum OVERSAMPLE_A {
BYPASS = 0,
OVER2X = 1,
OVER4X = 2,
OVER8X = 3,
OVER16X = 4,
OVER32X = 5,
OVER64X = 6,
OVER128X = 7,
OVER256X = 8,
}
Expand description
Oversample control
Value on reset: 0
Variants§
BYPASS = 0
0: Bypass oversampling
OVER2X = 1
1: Oversample 2x
OVER4X = 2
2: Oversample 4x
OVER8X = 3
3: Oversample 8x
OVER16X = 4
4: Oversample 16x
OVER32X = 5
5: Oversample 32x
OVER64X = 6
6: Oversample 64x
OVER128X = 7
7: Oversample 128x
OVER256X = 8
8: Oversample 256x
Trait Implementations§
Source§impl Clone for OVERSAMPLE_A
impl Clone for OVERSAMPLE_A
Source§fn clone(&self) -> OVERSAMPLE_A
fn clone(&self) -> OVERSAMPLE_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 OVERSAMPLE_A
impl Debug for OVERSAMPLE_A
Source§impl From<OVERSAMPLE_A> for u8
impl From<OVERSAMPLE_A> for u8
Source§fn from(variant: OVERSAMPLE_A) -> Self
fn from(variant: OVERSAMPLE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OVERSAMPLE_A
impl PartialEq for OVERSAMPLE_A
impl Copy for OVERSAMPLE_A
impl StructuralPartialEq for OVERSAMPLE_A
Auto Trait Implementations§
impl Freeze for OVERSAMPLE_A
impl RefUnwindSafe for OVERSAMPLE_A
impl Send for OVERSAMPLE_A
impl Sync for OVERSAMPLE_A
impl Unpin for OVERSAMPLE_A
impl UnwindSafe for OVERSAMPLE_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