pub struct Timer<TIM> { /* private fields */ }
Expand description
Hardware timers
Implementations§
Source§impl Timer<TIM1>
impl Timer<TIM1>
pub fn use_external_clock<C: ExternalClock>(&mut self, clk: C, freq: Hertz)
Source§impl Timer<TIM3>
impl Timer<TIM3>
pub fn use_external_clock<C: ExternalClock>(&mut self, clk: C, freq: Hertz)
Source§impl Timer<TIM2>
impl Timer<TIM2>
pub fn use_external_clock<C: ExternalClock>(&mut self, clk: C, freq: Hertz)
Source§impl Timer<TIM1>
impl Timer<TIM1>
Source§impl Timer<TIM3>
impl Timer<TIM3>
Source§impl Timer<TIM14>
impl Timer<TIM14>
Source§impl Timer<TIM16>
impl Timer<TIM16>
Source§impl Timer<TIM17>
impl Timer<TIM17>
Source§impl Timer<TIM2>
impl Timer<TIM2>
Source§impl Timer<TIM6>
impl Timer<TIM6>
Source§impl Timer<TIM7>
impl Timer<TIM7>
Source§impl Timer<TIM15>
impl Timer<TIM15>
Trait Implementations§
impl Periodic for Timer<SYST>
impl Periodic for Timer<TIM1>
impl Periodic for Timer<TIM14>
impl Periodic for Timer<TIM15>
impl Periodic for Timer<TIM16>
impl Periodic for Timer<TIM17>
impl Periodic for Timer<TIM2>
impl Periodic for Timer<TIM3>
impl Periodic for Timer<TIM6>
impl Periodic for Timer<TIM7>
Auto Trait Implementations§
impl<TIM> Freeze for Timer<TIM>where
TIM: Freeze,
impl<TIM> RefUnwindSafe for Timer<TIM>where
TIM: RefUnwindSafe,
impl<TIM> Send for Timer<TIM>where
TIM: Send,
impl<TIM> Sync for Timer<TIM>where
TIM: Sync,
impl<TIM> Unpin for Timer<TIM>where
TIM: Unpin,
impl<TIM> UnwindSafe for Timer<TIM>where
TIM: UnwindSafe,
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