pub struct DWT { /* private fields */ }
Expand description
Data Watchpoint and Trace unit
Implementations§
Source§impl 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§
impl Freeze for DWT
impl RefUnwindSafe for DWT
impl !Sync for DWT
impl Unpin for DWT
impl UnwindSafe for DWT
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