pub type W = W<CHIP_RESET_SPEC>;
Expand description

Register CHIP_RESET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn psm_restart_flag(&mut self) -> PSM_RESTART_FLAG_W<'_, CHIP_RESET_SPEC>

Bit 24 - This is set by psm_restart from the debugger.
Its purpose is to branch bootcode to a safe mode when the debugger has issued a psm_restart in order to recover from a boot lock-up.
In the safe mode the debugger can repair the boot code, clear this flag then reboot the processor.

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