[]Struct feather_m0::atsamd21g18a::DWT

pub struct DWT { /* fields omitted */ }

Data Watchpoint and Trace unit

Methods

impl DWT

pub fn enable_cycle_counter(&mut self)

Enables the cycle counter

pub fn get_cycle_count() -> u32

Returns the current clock cycle count

impl DWT

pub fn ptr() -> *const RegisterBlock

Returns a pointer to the register block

Trait Implementations

impl Send for DWT

impl Deref for DWT

type Target = RegisterBlock

The resulting type after dereferencing.

Auto Trait Implementations

impl !Sync for DWT

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

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]