Enum stm32_metapac::adc::vals::Boost
#[repr(u8)]pub enum Boost {
LT6_25 = 0,
LT12_5 = 1,
LT25 = 2,
LT50 = 3,
}
Variants§
LT6_25 = 0
Boost mode used when clock ≤ 6.25 MHz
LT12_5 = 1
Boost mode used when 6.25 MHz < clock ≤ 12.5 MHz
LT25 = 2
Boost mode used when 12.5 MHz < clock ≤ 25.0 MHz
LT50 = 3
Boost mode used when 25.0 MHz < clock ≤ 50.0 MHz
Implementations§
Trait Implementations§
§impl Ord for Boost
impl Ord for Boost
§impl PartialOrd for Boost
impl PartialOrd for Boost
§fn partial_cmp(&self, other: &Boost) -> Option<Ordering>
fn partial_cmp(&self, other: &Boost) -> 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 Boost
impl Eq for Boost
impl StructuralEq for Boost
impl StructuralPartialEq for Boost
Auto Trait Implementations§
impl RefUnwindSafe for Boost
impl Send for Boost
impl Sync for Boost
impl Unpin for Boost
impl UnwindSafe for Boost
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