Enum Timpre
#[repr(u8)]pub enum Timpre {
DefaultX2 = 0,
DefaultX4 = 1,
}Variants§
DefaultX2 = 0
The timers kernel clock is equal to rcc_hclk1 if PPRE1 or PPRE2 corresponds to a division by 1 or 2, else it is equal to 2 x Frcc_pclk1 or 2 x Frcc_pclk2 (default after reset)
DefaultX4 = 1
The timers kernel clock is equal to 2 x Frcc_pclk1 or 2 x Frcc_pclk2 if PPRE1 or PPRE2 corresponds to a division by 1, 2 or 4, else it is equal to 4 x Frcc_pclk1 or 4 x Frcc_pclk2
Implementations§
Trait Implementations§
impl Copy for Timpre
impl Eq for Timpre
§impl Ord for Timpre
impl Ord for Timpre
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Timpre
impl PartialOrd for Timpre
impl StructuralPartialEq for Timpre
Auto Trait Implementations§
impl Freeze for Timpre
impl RefUnwindSafe for Timpre
impl Send for Timpre
impl Sync for Timpre
impl Unpin for Timpre
impl UnsafeUnpin 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