#[repr(u8)]pub enum SampleTime {
CYCLES4 = 0,
CYCLES9 = 1,
CYCLES16 = 2,
CYCLES24 = 3,
CYCLES48 = 4,
CYCLES96 = 5,
CYCLES192 = 6,
CYCLES384 = 7,
}
Variants§
CYCLES4 = 0
4 ADC clock cycles
CYCLES9 = 1
9 ADC clock cycles
CYCLES16 = 2
16 ADC clock cycles
CYCLES24 = 3
24 ADC clock cycles
CYCLES48 = 4
48 ADC clock cycles
CYCLES96 = 5
96 ADC clock cycles
CYCLES192 = 6
192 ADC clock cycles
CYCLES384 = 7
384 ADC clock cycles
Implementations§
Source§impl SampleTime
impl SampleTime
Trait Implementations§
Source§impl Clone for SampleTime
impl Clone for SampleTime
Source§fn clone(&self) -> SampleTime
fn clone(&self) -> SampleTime
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 SampleTime
impl Debug for SampleTime
Source§impl From<u8> for SampleTime
impl From<u8> for SampleTime
Source§fn from(val: u8) -> SampleTime
fn from(val: u8) -> SampleTime
Converts to this type from the input type.
Source§impl Ord for SampleTime
impl Ord for SampleTime
Source§fn cmp(&self, other: &SampleTime) -> Ordering
fn cmp(&self, other: &SampleTime) -> 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
Source§impl PartialEq for SampleTime
impl PartialEq for SampleTime
Source§impl PartialOrd for SampleTime
impl PartialOrd for SampleTime
impl Copy for SampleTime
impl Eq for SampleTime
impl StructuralPartialEq for SampleTime
Auto Trait Implementations§
impl Freeze for SampleTime
impl RefUnwindSafe for SampleTime
impl Send for SampleTime
impl Sync for SampleTime
impl Unpin for SampleTime
impl UnwindSafe for SampleTime
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