Type Alias rp2040_pac::ppb::aircr::W

source ·
pub type W = W<AIRCR_SPEC>;
Expand description

Register AIRCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn vectclractive(&mut self) -> VECTCLRACTIVE_W<'_, AIRCR_SPEC>

Bit 1 - Clears all active state information for fixed and configurable exceptions. This bit: is self-clearing, can only be set by the DAP when the core is halted. When set: clears all active exception status of the processor, forces a return to Thread mode, forces an IPSR of 0. A debugger must re-initialize the stack.

source

pub fn sysresetreq(&mut self) -> SYSRESETREQ_W<'_, AIRCR_SPEC>

Bit 2 - Writing 1 to this bit causes the SYSRESETREQ signal to the outer system to be asserted to request a reset. The intention is to force a large system reset of all major components except for debug. The C_HALT bit in the DHCSR is cleared as a result of the system reset requested. The debugger does not lose contact with the device.

source

pub fn vectkey(&mut self) -> VECTKEY_W<'_, AIRCR_SPEC>

Bits 16:31 - Register key:
Reads as Unknown
On writes, write 0x05FA to VECTKEY, otherwise the write is ignored.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual