Enum microbit::hal::saadc::Oversample [−]
#[repr(u8)]
pub enum Oversample {
BYPASS,
OVER2X,
OVER4X,
OVER8X,
OVER16X,
OVER32X,
OVER64X,
OVER128X,
OVER256X,
}Expand description
Oversample control
Value on reset: 0
Variants
0: Bypass oversampling
1: Oversample 2x
2: Oversample 4x
3: Oversample 8x
4: Oversample 16x
5: Oversample 32x
6: Oversample 64x
7: Oversample 128x
8: Oversample 256x
Trait Implementations
impl Clone for OVERSAMPLE_A
impl Clone for OVERSAMPLE_A
pub fn clone(&self) -> OVERSAMPLE_A
pub fn clone(&self) -> OVERSAMPLE_A
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
impl Debug for OVERSAMPLE_A
impl Debug for OVERSAMPLE_A
impl PartialEq<OVERSAMPLE_A> for OVERSAMPLE_A
impl PartialEq<OVERSAMPLE_A> for OVERSAMPLE_A
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
Mutably borrows from an owned value. Read more
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.