Enum nrf52840_pac::saadc::oversample::OVERSAMPLE_A
source · [−]#[repr(u8)]
pub enum OVERSAMPLE_A {
BYPASS,
OVER2X,
OVER4X,
OVER8X,
OVER16X,
OVER32X,
OVER64X,
OVER128X,
OVER256X,
}
Expand description
Oversample control
Value on reset: 0
Variants
BYPASS
0: Bypass oversampling
OVER2X
1: Oversample 2x
OVER4X
2: Oversample 4x
OVER8X
3: Oversample 8x
OVER16X
4: Oversample 16x
OVER32X
5: Oversample 32x
OVER64X
6: Oversample 64x
OVER128X
7: Oversample 128x
OVER256X
8: Oversample 256x
Trait Implementations
sourceimpl Clone for OVERSAMPLE_A
impl Clone for OVERSAMPLE_A
sourcefn clone(&self) -> OVERSAMPLE_A
fn clone(&self) -> OVERSAMPLE_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OVERSAMPLE_A
impl Debug for OVERSAMPLE_A
sourceimpl From<OVERSAMPLE_A> for u8
impl From<OVERSAMPLE_A> for u8
sourcefn from(variant: OVERSAMPLE_A) -> Self
fn from(variant: OVERSAMPLE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<OVERSAMPLE_A> for OVERSAMPLE_A
impl PartialEq<OVERSAMPLE_A> for OVERSAMPLE_A
sourcefn eq(&self, other: &OVERSAMPLE_A) -> bool
fn eq(&self, other: &OVERSAMPLE_A) -> bool
impl Copy for OVERSAMPLE_A
impl StructuralPartialEq for OVERSAMPLE_A
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more