Struct nrf52833_hal::pac::DWT [−]
pub struct DWT { /* fields omitted */ }
Expand description
Data Watchpoint and Trace unit
Implementations
impl DWT
impl DWT
pub fn enable_cycle_counter(&mut self)
pub fn enable_cycle_counter(&mut self)
Enables the cycle counter
pub fn get_cycle_count() -> u32
pub fn get_cycle_count() -> u32
Returns the current clock cycle count
pub fn unlock()
pub fn unlock()
Removes the software lock on the DWT
Some devices, like the STM32F7, software lock the DWT after a power cycle.
impl DWT
impl DWT
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.