Enum Adc4OversamplingRatio
#[repr(u8)]pub enum Adc4OversamplingRatio {
OVERSAMPLE2X = 0,
OVERSAMPLE4X = 1,
OVERSAMPLE8X = 2,
OVERSAMPLE16X = 3,
OVERSAMPLE32X = 4,
OVERSAMPLE64X = 5,
OVERSAMPLE128X = 6,
OVERSAMPLE256X = 7,
}
Variants§
OVERSAMPLE2X = 0
Oversample 2 times
OVERSAMPLE4X = 1
Oversample 4 times
OVERSAMPLE8X = 2
Oversample 8 times
OVERSAMPLE16X = 3
Oversample 16 times
OVERSAMPLE32X = 4
Oversample 32 times
OVERSAMPLE64X = 5
Oversample 64 times
OVERSAMPLE128X = 6
Oversample 128 times
OVERSAMPLE256X = 7
Oversample 256 times
Implementations§
§impl Adc4OversamplingRatio
impl Adc4OversamplingRatio
pub const fn from_bits(val: u8) -> Adc4OversamplingRatio
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc4OversamplingRatio
impl Clone for Adc4OversamplingRatio
§fn clone(&self) -> Adc4OversamplingRatio
fn clone(&self) -> Adc4OversamplingRatio
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 more§impl Debug for Adc4OversamplingRatio
impl Debug for Adc4OversamplingRatio
§impl From<u8> for Adc4OversamplingRatio
impl From<u8> for Adc4OversamplingRatio
§fn from(val: u8) -> Adc4OversamplingRatio
fn from(val: u8) -> Adc4OversamplingRatio
Converts to this type from the input type.
§impl Ord for Adc4OversamplingRatio
impl Ord for Adc4OversamplingRatio
§fn cmp(&self, other: &Adc4OversamplingRatio) -> Ordering
fn cmp(&self, other: &Adc4OversamplingRatio) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for Adc4OversamplingRatio
impl PartialEq for Adc4OversamplingRatio
§impl PartialOrd for Adc4OversamplingRatio
impl PartialOrd for Adc4OversamplingRatio
impl Copy for Adc4OversamplingRatio
impl Eq for Adc4OversamplingRatio
impl StructuralPartialEq for Adc4OversamplingRatio
Auto Trait Implementations§
impl Freeze for Adc4OversamplingRatio
impl RefUnwindSafe for Adc4OversamplingRatio
impl Send for Adc4OversamplingRatio
impl Sync for Adc4OversamplingRatio
impl Unpin for Adc4OversamplingRatio
impl UnwindSafe for Adc4OversamplingRatio
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