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
impl Copy for Boost
impl Eq for Boost
impl StructuralPartialEq for Boost
Auto Trait Implementations§
impl Freeze for Boost
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)