Struct cortex_m::peripheral::DWT
[−]
[src]
pub struct DWT { /* fields omitted */ }Data Watchpoint and Trace unit
Methods
impl DWT[src]
fn enable_cycle_counter(&mut self)[src]
Enables the cycle counter
fn get_cycle_count() -> u32[src]
Returns the current clock cycle count
impl DWT[src]
fn ptr() -> *const RegisterBlock[src]
Returns a pointer to the register block
Trait Implementations
impl Send for DWT[src]
impl Deref for DWT[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
Dereferences the value.