Enum stm32_metapac::rcc::vals::Timpre
#[repr(u8)]pub enum Timpre {
MUL2 = 0,
MUL4 = 1,
}
Variants§
MUL2 = 0
If the APB prescaler is configured 1, TIMxCLK = PCLKx. Otherwise, TIMxCLK = 2xPCLKx
MUL4 = 1
If the APB prescaler is configured 1, 2 or 4, TIMxCLK = HCLK. Otherwise, TIMxCLK = 4xPCLKx
Implementations§
Trait Implementations§
§impl Ord for Timpre
impl Ord for Timpre
§impl PartialOrd for Timpre
impl PartialOrd for Timpre
impl Copy for Timpre
impl Eq 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 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
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
)