Module rp2040_pac::vreg_and_chip_reset::chip_reset
source · Expand description
Chip reset control and status
Structs§
- Chip reset control and status
Type Aliases§
- Field
HAD_POR
reader - Last reset was from the power-on reset or brown-out detection blocks - Field
HAD_PSM_RESTART
reader - Last reset was from the debug port - Field
HAD_RUN
reader - Last reset was from the RUN pin - Field
PSM_RESTART_FLAG
reader - 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. - Field
PSM_RESTART_FLAG
writer - 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. - Register
CHIP_RESET
reader - Register
CHIP_RESET
writer