Struct drone_cortexm::map::reg::scb::dfsr::Hold[][src]

pub struct Hold<'a, _T: RegTag> { /* fields omitted */ }

Debug Fault Status Register.

Implementations

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn external(&self) -> bool[src]

Indicates a debug event generated because of the assertion of an external debug request.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_external(&mut self) -> &mut Self[src]

Indicates a debug event generated because of the assertion of an external debug request.

pub fn clear_external(&mut self) -> &mut Self[src]

Indicates a debug event generated because of the assertion of an external debug request.

pub fn toggle_external(&mut self) -> &mut Self[src]

Indicates a debug event generated because of the assertion of an external debug request.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn vcatch(&self) -> bool[src]

Indicates triggering of a Vector catch.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_vcatch(&mut self) -> &mut Self[src]

Indicates triggering of a Vector catch.

pub fn clear_vcatch(&mut self) -> &mut Self[src]

Indicates triggering of a Vector catch.

pub fn toggle_vcatch(&mut self) -> &mut Self[src]

Indicates triggering of a Vector catch.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn dwttrap(&self) -> bool[src]

Indicates a debug event generated by the DWT.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_dwttrap(&mut self) -> &mut Self[src]

Indicates a debug event generated by the DWT.

pub fn clear_dwttrap(&mut self) -> &mut Self[src]

Indicates a debug event generated by the DWT.

pub fn toggle_dwttrap(&mut self) -> &mut Self[src]

Indicates a debug event generated by the DWT.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn bkpt(&self) -> bool[src]

Indicates a debug event generated by BKPT instruction execution or a breakpoint match in FPB.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_bkpt(&mut self) -> &mut Self[src]

Indicates a debug event generated by BKPT instruction execution or a breakpoint match in FPB.

pub fn clear_bkpt(&mut self) -> &mut Self[src]

Indicates a debug event generated by BKPT instruction execution or a breakpoint match in FPB.

pub fn toggle_bkpt(&mut self) -> &mut Self[src]

Indicates a debug event generated by BKPT instruction execution or a breakpoint match in FPB.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn halted(&self) -> bool[src]

Indicates a debug event generated by either.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_halted(&mut self) -> &mut Self[src]

Indicates a debug event generated by either.

pub fn clear_halted(&mut self) -> &mut Self[src]

Indicates a debug event generated by either.

pub fn toggle_halted(&mut self) -> &mut Self[src]

Indicates a debug event generated by either.

Trait Implementations

impl<'a, _T> RegHold<'a, _T, Reg<_T>> for Hold<'a, _T> where
    _T: RegTag
[src]

Auto Trait Implementations

impl<'a, _T> Send for Hold<'a, _T>

impl<'a, _T> Sync for Hold<'a, _T>

impl<'a, _T> Unpin for Hold<'a, _T>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.