Enum gd32f1x0_hal::adc::SampleTime
source · [−]pub enum SampleTime {
Cycles1_5,
Cycles7_5,
Cycles13_5,
Cycles28_5,
Cycles41_5,
Cycles55_5,
Cycles71_5,
Cycles239_5,
}
Expand description
ADC sampling time
Options for the sampling time, each is T + 0.5 ADC clock cycles.
Variants
Cycles1_5
1.5 cycles sampling time
Cycles7_5
7.5 cycles sampling time
Cycles13_5
13.5 cycles sampling time
Cycles28_5
28.5 cycles sampling time
Cycles41_5
41.5 cycles sampling time
Cycles55_5
55.5 cycles sampling time
Cycles71_5
71.5 cycles sampling time
Cycles239_5
239.5 cycles sampling time
Trait Implementations
sourceimpl Clone for SampleTime
impl Clone for SampleTime
sourcefn clone(&self) -> SampleTime
fn clone(&self) -> SampleTime
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SampleTime
impl Debug for SampleTime
sourceimpl Default for SampleTime
impl Default for SampleTime
sourceimpl From<SampleTime> for SPT0_A
impl From<SampleTime> for SPT0_A
sourcefn from(sample_time: SampleTime) -> Self
fn from(sample_time: SampleTime) -> Self
Converts to this type from the input type.
sourceimpl From<SampleTime> for SPT10_A
impl From<SampleTime> for SPT10_A
sourcefn from(sample_time: SampleTime) -> Self
fn from(sample_time: SampleTime) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SampleTime> for SampleTime
impl PartialEq<SampleTime> for SampleTime
impl Copy for SampleTime
impl StructuralPartialEq for SampleTime
Auto Trait Implementations
impl RefUnwindSafe for SampleTime
impl Send for SampleTime
impl Sync for SampleTime
impl Unpin for SampleTime
impl UnwindSafe for SampleTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more