Struct stm32f1::stm32f101::DWT [−][src]
pub struct DWT { /* fields omitted */ }
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
Trait Implementations
impl Deref for DWT
[src]
impl Deref for DWT
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &<DWT as Deref>::Target
[src]
fn deref(&self) -> &<DWT as Deref>::Target
Dereferences the value.
impl Send for DWT
[src]
impl Send for DWT