Type Alias rp2040_pac::vreg_and_chip_reset::chip_reset::W
source · pub type W = W<CHIP_RESET_SPEC>;
Expand description
Register CHIP_RESET
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn psm_restart_flag(&mut self) -> PSM_RESTART_FLAG_W<'_, CHIP_RESET_SPEC>
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.