Struct stm32_hal2::pac::DWT [−][src]
pub struct DWT { /* fields omitted */ }
Expand description
Data Watchpoint and Trace unit
Implementations
impl DWT
[src]
impl DWT
[src]pub fn enable_cycle_counter(&mut self)
[src]
pub fn enable_cycle_counter(&mut self)
[src]Enables the cycle counter
pub fn get_cycle_count() -> u32
[src]
pub fn get_cycle_count() -> u32
[src]Returns the current clock cycle count
impl DWT
[src]
impl DWT
[src]pub const PTR: *const RegisterBlock
[src]
pub const PTR: *const RegisterBlock
[src]Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
[src]
pub const fn ptr() -> *const RegisterBlock
[src]Returns a pointer to the register block (to be deprecated in 0.7)