Struct stm32f4xx_hal::dwt::MonoTimer
source · [−]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 RefUnwindSafe for MonoTimer
impl Send for MonoTimer
impl Sync for MonoTimer
impl Unpin for MonoTimer
impl UnwindSafe for MonoTimer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more