Enum embassy_stm32::rcc::TimerPrescaler
source ยท pub enum TimerPrescaler {
DefaultX2,
DefaultX4,
}
Expand description
Timer prescaler
Variantsยง
DefaultX2
The timers kernel clock is equal to hclk if PPREx corresponds to a division by 1 or 2, else it is equal to 2*pclk
DefaultX4
The timers kernel clock is equal to hclk if PPREx corresponds to a division by 1, 2 or 4, else it is equal to 4*pclk
Trait Implementationsยง
sourceยงimpl Clone for TimerPrescaler
impl Clone for TimerPrescaler
sourceยงfn clone(&self) -> TimerPrescaler
fn clone(&self) -> TimerPrescaler
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceยงimpl From<TimerPrescaler> for Timpre
impl From<TimerPrescaler> for Timpre
sourceยงfn from(value: TimerPrescaler) -> Self
fn from(value: TimerPrescaler) -> Self
Converts to this type from the input type.
sourceยงimpl PartialEq for TimerPrescaler
impl PartialEq for TimerPrescaler
impl Copy for TimerPrescaler
impl Eq for TimerPrescaler
impl StructuralPartialEq for TimerPrescaler
Auto Trait Implementationsยง
impl Freeze for TimerPrescaler
impl RefUnwindSafe for TimerPrescaler
impl Send for TimerPrescaler
impl Sync for TimerPrescaler
impl Unpin for TimerPrescaler
impl UnwindSafe for TimerPrescaler
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
)