Struct stm32f103xx::DWT [−][src]
Data Watchpoint and Trace unit
Methods
impl DWT
[src]
[−]
impl DWT
pub fn enable_cycle_counter(&mut self)
[src]
[−]
pub fn enable_cycle_counter(&mut self)
Enables the cycle counter
pub fn get_cycle_count() -> u32
[src]
[−]
pub fn get_cycle_count() -> u32
Returns the current clock cycle count
impl DWT
[src]
[−]
impl DWT
pub fn ptr() -> *const RegisterBlock
[src]
[−]
pub fn ptr() -> *const RegisterBlock
Returns a pointer to the register block