Enum stm32f1xx_hal::adc::SampleTime
source · 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 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 Default for SampleTime
impl Default for SampleTime
source§impl From<SampleTime> for u8
impl From<SampleTime> for u8
source§fn from(val: SampleTime) -> Self
fn from(val: SampleTime) -> Self
Converts to this type from the input type.