Enum stm32_metapac::rcc::vals::Timsw
#[repr(u8)]pub enum Timsw {
PCLK2_TIM = 0,
PLL1_P_MUL_2 = 1,
}
Variants§
PCLK2_TIM = 0
PCLK2 clock (doubled frequency when prescaled)
PLL1_P_MUL_2 = 1
PLL vco output (running up to 144 MHz)
Implementations§
Trait Implementations§
§impl Ord for Timsw
impl Ord for Timsw
§impl PartialOrd for Timsw
impl PartialOrd for Timsw
§fn partial_cmp(&self, other: &Timsw) -> Option<Ordering>
fn partial_cmp(&self, other: &Timsw) -> 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 Timsw
impl Eq for Timsw
impl StructuralEq for Timsw
impl StructuralPartialEq for Timsw
Auto Trait Implementations§
impl RefUnwindSafe for Timsw
impl Send for Timsw
impl Sync for Timsw
impl Unpin for Timsw
impl UnwindSafe for Timsw
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