Enum stm32_metapac::adc::vals::Smpplus
#[repr(u8)]pub enum Smpplus {
CYCLES2_5 = 0,
CYCLES3_5 = 1,
}
Variants§
CYCLES2_5 = 0
The sampling time remains set to 2.5 ADC clock cycles remains
CYCLES3_5 = 1
2.5 ADC clock cycle sampling time becomes 3.5 ADC clock cycles for the ADC_SMPR1 and ADC_SMPR2 registers.
Implementations§
Trait Implementations§
§impl Ord for Smpplus
impl Ord for Smpplus
§impl PartialOrd for Smpplus
impl PartialOrd for Smpplus
§fn partial_cmp(&self, other: &Smpplus) -> Option<Ordering>
fn partial_cmp(&self, other: &Smpplus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Smpplus
impl Eq for Smpplus
impl StructuralEq for Smpplus
impl StructuralPartialEq for Smpplus
Auto Trait Implementations§
impl RefUnwindSafe for Smpplus
impl Send for Smpplus
impl Sync for Smpplus
impl Unpin for Smpplus
impl UnwindSafe for Smpplus
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