[−][src]Struct cc13x2_cc26x2_hal::cpu_scs::demcr::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn reserved25(&mut self) -> _RESERVED25W
[src]
Bits 25:31 - 31:25] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn trcena(&mut self) -> _TRCENAW
[src]
Bit 24 - 24:24] This bit must be set to 1 to enable use of the trace and debug blocks: DWT, ITM, ETM and TPIU. This enables control of power usage unless tracing is required. The application can enable this, for ITM use, or use by a debugger.
pub fn reserved20(&mut self) -> _RESERVED20W
[src]
Bits 20:23 - 23:20] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn mon_req(&mut self) -> _MON_REQW
[src]
Bit 19 - 19:19] This enables the monitor to identify how it wakes up. This bit clears on a Core Reset. 0x0: Woken up by debug exception. 0x1: Woken up by MON_PEND
pub fn mon_step(&mut self) -> _MON_STEPW
[src]
Bit 18 - 18:18] When MON_EN = 1, this steps the core. When MON_EN = 0, this bit is ignored. This is the equivalent to DHCSR.C_STEP. Interrupts are only stepped according to the priority of the monitor and settings of PRIMASK, FAULTMASK, or BASEPRI.
pub fn mon_pend(&mut self) -> _MON_PENDW
[src]
Bit 17 - 17:17] Pend the monitor to activate when priority permits. This can wake up the monitor through the AHB-AP port. It is the equivalent to DHCSR.C_HALT for Monitor debug. This register does not reset on a system reset. It is only reset by a power-on reset. Software in the reset handler or later, or by the DAP must enable the debug monitor.
pub fn mon_en(&mut self) -> _MON_ENW
[src]
Bit 16 - 16:16] Enable the debug monitor. When enabled, the System handler priority register controls its priority level. If disabled, then all debug events go to Hard fault. DHCSR.C_DEBUGEN overrides this bit. Vector catching is semi-synchronous. When a matching event is seen, a Halt is requested. Because the processor can only halt on an instruction boundary, it must wait until the next instruction boundary. As a result, it stops on the first instruction of the exception handler. However, two special cases exist when a vector catch has triggered: 1. If a fault is taken during vectoring, vector read or stack push error, the halt occurs on the corresponding fault handler, for the vector error or stack push. 2. If a late arriving interrupt comes in during vectoring, it is not taken. That is, an implementation that supports the late arrival optimization must suppress it in this case.
pub fn reserved11(&mut self) -> _RESERVED11W
[src]
Bits 11:15 - 15:11] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn vc_harderr(&mut self) -> _VC_HARDERRW
[src]
Bit 10 - 10:10] Debug trap on Hard Fault. Ignored when DHCSR.C_DEBUGEN is cleared.
pub fn vc_interr(&mut self) -> _VC_INTERRW
[src]
Bit 9 - 9:9] Debug trap on a fault occurring during an exception entry or return sequence. Ignored when DHCSR.C_DEBUGEN is cleared.
pub fn vc_buserr(&mut self) -> _VC_BUSERRW
[src]
Bit 8 - 8:8] Debug Trap on normal Bus error. Ignored when DHCSR.C_DEBUGEN is cleared.
pub fn vc_staterr(&mut self) -> _VC_STATERRW
[src]
Bit 7 - 7:7] Debug trap on Usage Fault state errors. Ignored when DHCSR.C_DEBUGEN is cleared.
pub fn vc_chkerr(&mut self) -> _VC_CHKERRW
[src]
Bit 6 - 6:6] Debug trap on Usage Fault enabled checking errors. Ignored when DHCSR.C_DEBUGEN is cleared.
pub fn vc_nocperr(&mut self) -> _VC_NOCPERRW
[src]
Bit 5 - 5:5] Debug trap on a UsageFault access to a Coprocessor. Ignored when DHCSR.C_DEBUGEN is cleared.
pub fn vc_mmerr(&mut self) -> _VC_MMERRW
[src]
Bit 4 - 4:4] Debug trap on Memory Management faults. Ignored when DHCSR.C_DEBUGEN is cleared.
pub fn reserved1(&mut self) -> _RESERVED1W
[src]
Bits 1:3 - 3:1] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn vc_corereset(&mut self) -> _VC_CORERESETW
[src]
Bit 0 - 0:0] Reset Vector Catch. Halt running system if Core reset occurs. Ignored when DHCSR.C_DEBUGEN is cleared.
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self