pub enum AdcSampleTime {
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
Implementations§
Source§impl AdcSampleTime
impl AdcSampleTime
Trait Implementations§
Source§impl Clone for AdcSampleTime
impl Clone for AdcSampleTime
Source§fn clone(&self) -> AdcSampleTime
fn clone(&self) -> AdcSampleTime
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 AdcSampleTime
impl Debug for AdcSampleTime
Source§impl From<AdcSampleTime> for SMP_A
impl From<AdcSampleTime> for SMP_A
Source§fn from(val: AdcSampleTime) -> Self
fn from(val: AdcSampleTime) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AdcSampleTime
impl PartialEq for AdcSampleTime
impl Copy for AdcSampleTime
impl StructuralPartialEq for AdcSampleTime
Auto Trait Implementations§
impl Freeze for AdcSampleTime
impl RefUnwindSafe for AdcSampleTime
impl Send for AdcSampleTime
impl Sync for AdcSampleTime
impl Unpin for AdcSampleTime
impl UnwindSafe for AdcSampleTime
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