RP2040_SVD.VREG_AND_CHIP_RESET

Entities

Record Types

Subtypes

Variables

Description

------------- Registers -- -------------

BOD_Register

type BOD_Register is record
   EN            : Boolean := True;
   Reserved_1_3  : HAL.UInt3 := 16#0#;
   VSEL          : BOD_VSEL_Field := 16#9#;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

unspecified

Reserved_1_3

threshold select\n 0000 - 0.473V\n 0001 - 0.516V\n 0010 - 0.559V\n 0011 - 0.602V\n 0100 - 0.645V\n 0101 - 0.688V\n 0110 - 0.731V\n 0111

1011 - 0.946V\n 1100 - 0.989V\n 1101 - 1.032V\n 1110 - 1.075V\n 1111

VSEL

unspecified

Reserved_8_31

BOD_VSEL_Field

subtype BOD_VSEL_Field is HAL.UInt4;

CHIP_RESET_Register

type CHIP_RESET_Register is record
   Reserved_0_7     : HAL.UInt8 := 16#0#;
   HAD_POR          : Boolean := False;
   Reserved_9_15    : HAL.UInt7 := 16#0#;
   HAD_RUN          : Boolean := False;
   Reserved_17_19   : HAL.UInt3 := 16#0#;
   HAD_PSM_RESTART  : Boolean := False;
   Reserved_21_23   : HAL.UInt3 := 16#0#;
   PSM_RESTART_FLAG : Boolean := False;
   Reserved_25_31   : HAL.UInt7 := 16#0#;
end record;
Record fields
Reserved_0_7

Read-only. Last reset was from the power-on reset or brown-out detection blocks

HAD_POR

unspecified

Reserved_9_15

Read-only. Last reset was from the RUN pin

HAD_RUN

unspecified

Reserved_17_19

Read-only. Last reset was from the debug port

HAD_PSM_RESTART

unspecified

Reserved_21_23

Write data bit of one shall clear (set to zero) the corresponding bit in the field. This is set by psm_restart from the debugger.\n 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.\n In the safe mode the debugger can repair the boot code, clear this flag then reboot the processor.

PSM_RESTART_FLAG

unspecified

Reserved_25_31

VREG_AND_CHIP_RESET_Periph

VREG_AND_CHIP_RESET_Periph : aliased VREG_AND_CHIP_RESET_Peripheral
  with Import, Address => VREG_AND_CHIP_RESET_Base;

VREG_AND_CHIP_RESET_Peripheral

type VREG_AND_CHIP_RESET_Peripheral is record
   VREG       : aliased VREG_Register;
   BOD        : aliased BOD_Register;
   CHIP_RESET : aliased CHIP_RESET_Register;
end record;
Record fields
VREG

brown-out detection control

BOD

Chip reset control and status

CHIP_RESET

VREG_Register

type VREG_Register is record
   EN             : Boolean := True;
   HIZ            : Boolean := False;
   Reserved_2_3   : HAL.UInt2 := 16#0#;
   VSEL           : VREG_VSEL_Field := 16#B#;
   Reserved_8_11  : HAL.UInt4 := 16#0#;
   ROK            : Boolean := False;
   Reserved_13_31 : HAL.UInt19 := 16#0#;
end record;
Record fields
EN

high impedance mode select\n 0=not in high impedance mode, 1=in high impedance mode

HIZ

unspecified

Reserved_2_3

output voltage select\n 0000 to 0101 - 0.80V\n 0110 - 0.85V\n 0111 - 0.90V\n 1000 - 0.95V\n 1001 - 1.00V\n 1010 - 1.05V\n 1011 - 1.10V (default)\n 1100 - 1.15V\n 1101 - 1.20V\n 1110 - 1.25V\n 1111 - 1.30V

VSEL

unspecified

Reserved_8_11

Read-only. regulation status\n 0=not in regulation, 1=in regulation

ROK

unspecified

Reserved_13_31

VREG_VSEL_Field

subtype VREG_VSEL_Field is HAL.UInt4;