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