------------- Registers -- -------------
type DBGFORCE_Register is record
PROC0_SWDO : Boolean := False;
PROC0_SWDI : Boolean := True;
PROC0_SWCLK : Boolean := True;
PROC0_ATTACH : Boolean := False;
PROC1_SWDO : Boolean := False;
PROC1_SWDI : Boolean := True;
PROC1_SWCLK : Boolean := True;
PROC1_ATTACH : Boolean := False;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Directly drive processor 0 SWDIO input, if PROC0_ATTACH is set
Directly drive processor 0 SWCLK, if PROC0_ATTACH is set
Attach processor 0 debug port to syscfg controls, and disconnect it from external SWD pads.
Read-only. Observe the value of processor 1 SWDIO output.
Directly drive processor 1 SWDIO input, if PROC1_ATTACH is set
Directly drive processor 1 SWCLK, if PROC1_ATTACH is set
Attach processor 1 debug port to syscfg controls, and disconnect it from external SWD pads.
unspecified
type MEMPOWERDOWN_Register is record
SRAM : MEMPOWERDOWN_SRAM_Field :=
(As_Array => False, Val => 16#0#);
USB : Boolean := False;
ROM : Boolean := False;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
unspecified
unspecified
unspecified
type MEMPOWERDOWN_SRAM_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt6;
when True =>
Arr : MEMPOWERDOWN_SRAM_Field_Array;
end case;
end record;
type MEMPOWERDOWN_SRAM_Field_Array is array (0 .. 5) of Boolean
with Component_Size => 1, Size => 6;
subtype PROC_CONFIG_PROC0_DAP_INSTID_Field is HAL.UInt4;
subtype PROC_CONFIG_PROC1_DAP_INSTID_Field is HAL.UInt4;
type PROC_CONFIG_Register is record
PROC0_HALTED : Boolean := False;
PROC1_HALTED : Boolean := False;
Reserved_2_23 : HAL.UInt22 := 16#0#;
PROC0_DAP_INSTID : PROC_CONFIG_PROC0_DAP_INSTID_Field := 16#0#;
PROC1_DAP_INSTID : PROC_CONFIG_PROC1_DAP_INSTID_Field := 16#1#;
end record;
Read-only. Indication that proc1 has halted
unspecified
Configure proc0 DAP instance ID.\n Recommend that this is NOT changed until you require debug access in multi-chip environment\n WARNING: do not set to 15 as this is reserved for RescueDP
Configure proc1 DAP instance ID.\n Recommend that this is NOT changed until you require debug access in multi-chip environment\n WARNING: do not set to 15 as this is reserved for RescueDP
subtype PROC_IN_SYNC_BYPASS_HI_PROC_IN_SYNC_BYPASS_HI_Field is HAL.UInt6;
type PROC_IN_SYNC_BYPASS_HI_Register is record
PROC_IN_SYNC_BYPASS_HI : PROC_IN_SYNC_BYPASS_HI_PROC_IN_SYNC_BYPASS_HI_Field :=
16#0#;
Reserved_6_31 : HAL.UInt26 := 16#0#;
end record;
unspecified
subtype PROC_IN_SYNC_BYPASS_PROC_IN_SYNC_BYPASS_Field is HAL.UInt30;
type PROC_IN_SYNC_BYPASS_Register is record
PROC_IN_SYNC_BYPASS : PROC_IN_SYNC_BYPASS_PROC_IN_SYNC_BYPASS_Field :=
16#0#;
Reserved_30_31 : HAL.UInt2 := 16#0#;
end record;
unspecified
SYSCFG_Periph : aliased SYSCFG_Peripheral
with Import, Address => SYSCFG_Base;
type SYSCFG_Peripheral is record
PROC0_NMI_MASK : aliased HAL.UInt32;
PROC1_NMI_MASK : aliased HAL.UInt32;
PROC_CONFIG : aliased PROC_CONFIG_Register;
PROC_IN_SYNC_BYPASS : aliased PROC_IN_SYNC_BYPASS_Register;
PROC_IN_SYNC_BYPASS_HI : aliased PROC_IN_SYNC_BYPASS_HI_Register;
DBGFORCE : aliased DBGFORCE_Register;
MEMPOWERDOWN : aliased MEMPOWERDOWN_Register;
end record;
Processor core 1 NMI source mask\n Set a bit high to enable NMI from that IRQ
Configuration for processors
For each bit, if 1, bypass the input synchronizer between that GPIO\n and the GPIO input register in the SIO. The input synchronizers should\n generally be unbypassed, to avoid injecting metastabilities into processors.\n If you're feeling brave, you can bypass to save two cycles of input\n latency. This register applies to GPIO 0...29.
For each bit, if 1, bypass the input synchronizer between that GPIO\n and the GPIO input register in the SIO. The input synchronizers should\n generally be unbypassed, to avoid injecting metastabilities into processors.\n If you're feeling brave, you can bypass to save two cycles of input\n latency. This register applies to GPIO 30...35 (the QSPI IOs).
Directly control the SWD debug port of either processor
Control power downs to memories. Set high to power down memories.\n Use with extreme caution