[]Struct samd21_mini::DCB

pub struct DCB { /* fields omitted */ }

Debug Control Block

Methods

impl DCB

pub fn enable_trace(&mut self)

Enables TRACE. This is for example required by the peripheral::DWT cycle counter to work properly. As by STM documentation, this flag is not reset on soft-reset, only on power reset.

pub fn disable_trace(&mut self)

Disables TRACE. See DCB::enable_trace() for more details

impl DCB

pub fn ptr() -> *const RegisterBlock

Returns a pointer to the register block

Trait Implementations

impl Send for DCB

impl Deref for DCB

type Target = RegisterBlock

The resulting type after dereferencing.

Auto Trait Implementations

impl !Sync for DCB

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]