Enum imxrt_hal::adc::ConversionSpeed
source · pub enum ConversionSpeed {
Slow,
Medium,
Fast,
VeryFast,
}
Expand description
Conversion speeds done by clock cycles
Variants§
Slow
25 ADC clock cycles (24 on imxrt102x)
Medium
17 ADC clock cycles (16 on imxrt102x)
Fast
9 ADC clock cycles (8 on imxrt102x)
VeryFast
3 ADC clock cycles (2 on imxrt102x)
Trait Implementations§
source§impl Clone for ConversionSpeed
impl Clone for ConversionSpeed
source§fn clone(&self) -> ConversionSpeed
fn clone(&self) -> ConversionSpeed
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 ConversionSpeed
impl Debug for ConversionSpeed
source§impl PartialEq for ConversionSpeed
impl PartialEq for ConversionSpeed
source§fn eq(&self, other: &ConversionSpeed) -> bool
fn eq(&self, other: &ConversionSpeed) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConversionSpeed
impl Eq for ConversionSpeed
impl StructuralEq for ConversionSpeed
impl StructuralPartialEq for ConversionSpeed
Auto Trait Implementations§
impl RefUnwindSafe for ConversionSpeed
impl Send for ConversionSpeed
impl Sync for ConversionSpeed
impl Unpin for ConversionSpeed
impl UnwindSafe for ConversionSpeed
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