[][src]Struct probe_rs::architecture::arm::m33::Demcr

pub struct Demcr(pub u32);

Implementations

impl Demcr[src]

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

Global enable for DWT, PMU and ITM features

pub fn set_trcena(&mut self, value: bool)[src]

Global enable for DWT, PMU and ITM features

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

Monitor pending request key. Writes to the mon_pend and mon_en fields request are ignorend unless monprkey is set to zero concurrently.

pub fn set_monprkey(&mut self, value: bool)[src]

Monitor pending request key. Writes to the mon_pend and mon_en fields request are ignorend unless monprkey is set to zero concurrently.

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

Unprivileged monitor enable.

pub fn set_umon_en(&mut self, value: bool)[src]

Unprivileged monitor enable.

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

Secure DebugMonitor enable

pub fn set_sdme(&mut self, value: bool)[src]

Secure DebugMonitor enable

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

DebugMonitor semaphore bit

pub fn set_mon_req(&mut self, value: bool)[src]

DebugMonitor semaphore bit

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

Step the processor?

pub fn set_mon_step(&mut self, value: bool)[src]

Step the processor?

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

Sets or clears the pending state of the DebugMonitor exception

pub fn set_mon_pend(&mut self, value: bool)[src]

Sets or clears the pending state of the DebugMonitor exception

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

Enable the DebugMonitor exception

pub fn set_mon_en(&mut self, value: bool)[src]

Enable the DebugMonitor exception

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

Enable halting debug on a SecureFault exception

pub fn set_vc_sferr(&mut self, value: bool)[src]

Enable halting debug on a SecureFault exception

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

Enable halting debug trap on a HardFault exception

pub fn set_vc_harderr(&mut self, value: bool)[src]

Enable halting debug trap on a HardFault exception

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

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

pub fn set_vc_interr(&mut self, value: bool)[src]

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

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

Enable halting debug trap on a BusFault exception

pub fn set_vc_buserr(&mut self, value: bool)[src]

Enable halting debug trap on a BusFault exception

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

pub fn set_vc_staterr(&mut self, value: bool)[src]

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

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

pub fn set_vc_chkerr(&mut self, value: bool)[src]

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

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

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

pub fn set_vc_nocperr(&mut self, value: bool)[src]

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

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

Enable halting debug trap on a MemManage exception.

pub fn set_vc_mmerr(&mut self, value: bool)[src]

Enable halting debug trap on a MemManage exception.

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

Enable Reset Vector Catch

pub fn set_vc_corereset(&mut self, value: bool)[src]

Enable Reset Vector Catch

Trait Implementations

impl<T> BitRange<T> for Demcr where
    u32: BitRange<T>, 
[src]

impl Clone for Demcr[src]

impl Copy for Demcr[src]

impl Debug for Demcr[src]

impl From<Demcr> for u32[src]

impl From<u32> for Demcr[src]

Auto Trait Implementations

impl RefUnwindSafe for Demcr

impl Send for Demcr

impl Sync for Demcr

impl Unpin for Demcr

impl UnwindSafe for Demcr

Blanket Implementations

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

impl<T> Bit for T where
    T: BitRange<u8>, 
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.