Enum stm32_metapac::rcc::vals::Timpre
#[repr(u8)]pub enum Timpre {
DEFAULTX2 = 0,
DEFAULTX4 = 1,
}
Variants§
DEFAULTX2 = 0
Timer kernel clock equal to 2x pclk by default
DEFAULTX4 = 1
Timer kernel clock equal to 4x pclk by default
Implementations§
Trait Implementations§
§impl Ord for Timpre
impl Ord for Timpre
§impl PartialOrd for Timpre
impl PartialOrd for Timpre
§fn partial_cmp(&self, other: &Timpre) -> Option<Ordering>
fn partial_cmp(&self, other: &Timpre) -> 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 Timpre
impl Eq for Timpre
impl StructuralEq for Timpre
impl StructuralPartialEq for Timpre
Auto Trait Implementations§
impl RefUnwindSafe for Timpre
impl Send for Timpre
impl Sync for Timpre
impl Unpin for Timpre
impl UnwindSafe for Timpre
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