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

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

Debug Exception and Monitor Control Register.

Implementations

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

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

Global enable for all DWT and ITM features.

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

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

Global enable for all DWT and ITM features.

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

Global enable for all DWT and ITM features.

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

Global enable for all DWT and ITM features.

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

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

DebugMonitor semaphore bit.

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

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

DebugMonitor semaphore bit.

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

DebugMonitor semaphore bit.

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

DebugMonitor semaphore bit.

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

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

Setting this bit to 1 makes the step request pending.

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

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

Setting this bit to 1 makes the step request pending.

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

Setting this bit to 1 makes the step request pending.

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

Setting this bit to 1 makes the step request pending.

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

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

Sets or clears the pending state of the DebugMonitor exception.

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

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

Sets or clears the pending state of the DebugMonitor exception.

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

Sets or clears the pending state of the DebugMonitor exception.

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

Sets or clears the pending state of the DebugMonitor exception.

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

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

Enable the DebugMonitor exception.

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

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

Enable the DebugMonitor exception.

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

Enable the DebugMonitor exception.

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

Enable the DebugMonitor exception.

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

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

Enable halting debug trap on a HardFault exception.

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

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

Enable halting debug trap on a HardFault exception.

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

Enable halting debug trap on a HardFault exception.

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

Enable halting debug trap on a HardFault exception.

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

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

Enable halting debug trap on a fault occurring during exception entry or exception return.

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

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

Enable halting debug trap on a fault occurring during exception entry or exception return.

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

Enable halting debug trap on a fault occurring during exception entry or exception return.

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

Enable halting debug trap on a fault occurring during exception entry or exception return.

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

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

Enable halting debug trap on a BusFault exception.

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

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

Enable halting debug trap on a BusFault exception.

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

Enable halting debug trap on a BusFault exception.

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

Enable halting debug trap on a BusFault exception.

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

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

Enable halting debug trap on a UsageFault exception caused by a state information error, for example an Undefined Instruction exception.

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

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

Enable halting debug trap on a UsageFault exception caused by a state information error, for example an Undefined Instruction exception.

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

Enable halting debug trap on a UsageFault exception caused by a state information error, for example an Undefined Instruction exception.

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

Enable halting debug trap on a UsageFault exception caused by a state information error, for example an Undefined Instruction exception.

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

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

Enable halting debug trap on a UsageFault exception caused by a checking error, for example an alignment check error.

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

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

Enable halting debug trap on a UsageFault exception caused by a checking error, for example an alignment check error.

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

Enable halting debug trap on a UsageFault exception caused by a checking error, for example an alignment check error.

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

Enable halting debug trap on a UsageFault exception caused by a checking error, for example an alignment check error.

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

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

Enable halting debug trap on a UsageFault caused by an access to a Coprocessor.

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

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

Enable halting debug trap on a UsageFault caused by an access to a Coprocessor.

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

Enable halting debug trap on a UsageFault caused by an access to a Coprocessor.

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

Enable halting debug trap on a UsageFault caused by an access to a Coprocessor.

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

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

Enable halting debug trap on a MemManage exception.

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

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

Enable halting debug trap on a MemManage exception.

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

Enable halting debug trap on a MemManage exception.

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

Enable halting debug trap on a MemManage exception.

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

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

Enable Reset Vector Catch. This causes a Local reset to halt a running system.

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

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

Enable Reset Vector Catch. This causes a Local reset to halt a running system.

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

Enable Reset Vector Catch. This causes a Local reset to halt a running system.

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

Enable Reset Vector Catch. This causes a Local reset to halt a running system.

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.