pub struct DWT { /* private fields */ }
Expand description
Data Watchpoint and Trace unit
Implementations
sourceimpl DWT
impl DWT
sourcepub fn enable_cycle_counter(&mut self)
pub fn enable_cycle_counter(&mut self)
Enables the cycle counter
sourcepub fn get_cycle_count() -> u32
pub fn get_cycle_count() -> u32
Returns the current clock cycle count
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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