Enum nrf52840_pac::saadc::oversample::OVERSAMPLE_A
source · #[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)