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