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