[][src]Struct cortex_m::peripheral::DWT

pub struct DWT { /* fields omitted */ }

Data Watchpoint and Trace unit

Methods

impl DWT
[src]

Enables the cycle counter

Returns the current clock cycle count

Removes the software lock on the DWT

Some devices, like the STM32F7, software lock the DWT after a power cycle.

impl DWT
[src]

Returns a pointer to the register block

Trait Implementations

impl Deref for DWT
[src]

The resulting type after dereferencing.

impl Send for DWT
[src]

Auto Trait Implementations

impl !Sync for DWT

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T
[src]

Should always be Self