pub struct TimerDriver { /* private fields */ }Implementations§
Source§impl TimerDriver
impl TimerDriver
Sourcepub unsafe fn on_interrupt_timekeeping(&self)
pub unsafe fn on_interrupt_timekeeping(&self)
Should be called inside the IRQ of the timekeeper timer.
§Safety
This function has to be called once by the TIM IRQ used for the timekeeping.
Sourcepub unsafe fn on_interrupt_alarm(&self)
pub unsafe fn on_interrupt_alarm(&self)
Should be called inside the IRQ of the alarm timer.
§Safety
This function has to be called once by the TIM IRQ used for the timekeeping.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TimerDriver
impl !RefUnwindSafe for TimerDriver
impl Send for TimerDriver
impl Sync for TimerDriver
impl Unpin for TimerDriver
impl !UnwindSafe for TimerDriver
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