pub struct MonoTimer { /* private fields */ }
Expand description
A monotonic non-decreasing timer
This uses the timer in the debug watch trace peripheral. This means, that if the core is stopped, the timer does not count up. This may be relevant if you are using cortex_m_semihosting::hprintln for debugging in which case the timer will be stopped while printing
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MonoTimer
impl RefUnwindSafe for MonoTimer
impl Send for MonoTimer
impl Sync for MonoTimer
impl Unpin for MonoTimer
impl UnwindSafe for MonoTimer
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