pub enum SampleTime {
T_1,
T_7,
T_13,
T_28,
T_41,
T_55,
T_71,
T_239,
}
Expand description
ADC sampling time
Options for the sampling time, each is T + 0.5 ADC clock cycles.
Variants§
T_1
1.5 cycles sampling time
T_7
7.5 cycles sampling time
T_13
13.5 cycles sampling time
T_28
28.5 cycles sampling time
T_41
41.5 cycles sampling time
T_55
55.5 cycles sampling time
T_71
71.5 cycles sampling time
T_239
239.5 cycles sampling time
Trait Implementations§
Source§impl Clone for SampleTime
impl Clone for SampleTime
Source§fn clone(&self) -> SampleTime
fn clone(&self) -> SampleTime
Returns a duplicate 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 Default for SampleTime
impl Default for SampleTime
Source§impl From<SampleTime> for SMP10
impl From<SampleTime> for SMP10
Source§fn from(val: SampleTime) -> Self
fn from(val: SampleTime) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SampleTime
impl PartialEq 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