------------- Registers -- -------------
type CLK_ADC_CTRL_AUXSRC_Field is
(clksrc_pll_usb,
clksrc_pll_sys,
rosc_clksrc_ph,
xosc_clksrc,
clksrc_gpin0,
clksrc_gpin1)
with Size => 3;
subtype CLK_ADC_CTRL_PHASE_Field is HAL.UInt2;
type CLK_ADC_CTRL_Register is record
Reserved_0_4 : HAL.UInt5 := 16#0#;
AUXSRC : CLK_ADC_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_usb;
Reserved_8_9 : HAL.UInt2 := 16#0#;
KILL : Boolean := False;
ENABLE : Boolean := False;
Reserved_12_15 : HAL.UInt4 := 16#0#;
PHASE : CLK_ADC_CTRL_PHASE_Field := 16#0#;
Reserved_18_19 : HAL.UInt2 := 16#0#;
NUDGE : Boolean := False;
Reserved_21_31 : HAL.UInt11 := 16#0#;
end record;
Selects the auxiliary clock source, will glitch when switching
unspecified
Asynchronously kills the clock generator
Starts and stops the clock generator cleanly
unspecified
This delays the enable signal by up to 3 cycles of the input clock\n This must be set before the clock is enabled to have any effect
unspecified
An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n This can be done at any time
unspecified
subtype CLK_ADC_DIV_INT_Field is HAL.UInt2;
type CLK_ADC_DIV_Register is record
Reserved_0_7 : HAL.UInt8 := 16#0#;
INT : CLK_ADC_DIV_INT_Field := 16#1#;
Reserved_10_31 : HAL.UInt22 := 16#0#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
unspecified
type CLK_GPOUT0_CTRL_AUXSRC_Field is
(clksrc_pll_sys,
clksrc_gpin0,
clksrc_gpin1,
clksrc_pll_usb,
rosc_clksrc,
xosc_clksrc,
clk_sys,
clk_usb,
…,
clk_ref)
with Size => 4;
subtype CLK_GPOUT0_CTRL_PHASE_Field is HAL.UInt2;
type CLK_GPOUT0_CTRL_Register is record
Reserved_0_4 : HAL.UInt5 := 16#0#;
AUXSRC : CLK_GPOUT0_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_sys;
Reserved_9_9 : HAL.Bit := 16#0#;
KILL : Boolean := False;
ENABLE : Boolean := False;
DC50 : Boolean := False;
Reserved_13_15 : HAL.UInt3 := 16#0#;
PHASE : CLK_GPOUT0_CTRL_PHASE_Field := 16#0#;
Reserved_18_19 : HAL.UInt2 := 16#0#;
NUDGE : Boolean := False;
Reserved_21_31 : HAL.UInt11 := 16#0#;
end record;
Selects the auxiliary clock source, will glitch when switching
unspecified
Asynchronously kills the clock generator
Starts and stops the clock generator cleanly
Enables duty cycle correction for odd divisors
unspecified
This delays the enable signal by up to 3 cycles of the input clock\n This must be set before the clock is enabled to have any effect
unspecified
An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n This can be done at any time
unspecified
subtype CLK_GPOUT0_DIV_FRAC_Field is HAL.UInt8;
subtype CLK_GPOUT0_DIV_INT_Field is HAL.UInt24;
type CLK_GPOUT0_DIV_Register is record
FRAC : CLK_GPOUT0_DIV_FRAC_Field := 16#0#;
INT : CLK_GPOUT0_DIV_INT_Field := 16#1#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
type CLK_GPOUT1_CTRL_AUXSRC_Field is
(clksrc_pll_sys,
clksrc_gpin0,
clksrc_gpin1,
clksrc_pll_usb,
rosc_clksrc,
xosc_clksrc,
clk_sys,
clk_usb,
…,
clk_ref)
with Size => 4;
subtype CLK_GPOUT1_CTRL_PHASE_Field is HAL.UInt2;
type CLK_GPOUT1_CTRL_Register is record
Reserved_0_4 : HAL.UInt5 := 16#0#;
AUXSRC : CLK_GPOUT1_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_sys;
Reserved_9_9 : HAL.Bit := 16#0#;
KILL : Boolean := False;
ENABLE : Boolean := False;
DC50 : Boolean := False;
Reserved_13_15 : HAL.UInt3 := 16#0#;
PHASE : CLK_GPOUT1_CTRL_PHASE_Field := 16#0#;
Reserved_18_19 : HAL.UInt2 := 16#0#;
NUDGE : Boolean := False;
Reserved_21_31 : HAL.UInt11 := 16#0#;
end record;
Selects the auxiliary clock source, will glitch when switching
unspecified
Asynchronously kills the clock generator
Starts and stops the clock generator cleanly
Enables duty cycle correction for odd divisors
unspecified
This delays the enable signal by up to 3 cycles of the input clock\n This must be set before the clock is enabled to have any effect
unspecified
An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n This can be done at any time
unspecified
subtype CLK_GPOUT1_DIV_FRAC_Field is HAL.UInt8;
subtype CLK_GPOUT1_DIV_INT_Field is HAL.UInt24;
type CLK_GPOUT1_DIV_Register is record
FRAC : CLK_GPOUT1_DIV_FRAC_Field := 16#0#;
INT : CLK_GPOUT1_DIV_INT_Field := 16#1#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
type CLK_GPOUT2_CTRL_AUXSRC_Field is
(clksrc_pll_sys,
clksrc_gpin0,
clksrc_gpin1,
clksrc_pll_usb,
rosc_clksrc_ph,
xosc_clksrc,
clk_sys,
clk_usb,
…,
clk_ref)
with Size => 4;
subtype CLK_GPOUT2_CTRL_PHASE_Field is HAL.UInt2;
type CLK_GPOUT2_CTRL_Register is record
Reserved_0_4 : HAL.UInt5 := 16#0#;
AUXSRC : CLK_GPOUT2_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_sys;
Reserved_9_9 : HAL.Bit := 16#0#;
KILL : Boolean := False;
ENABLE : Boolean := False;
DC50 : Boolean := False;
Reserved_13_15 : HAL.UInt3 := 16#0#;
PHASE : CLK_GPOUT2_CTRL_PHASE_Field := 16#0#;
Reserved_18_19 : HAL.UInt2 := 16#0#;
NUDGE : Boolean := False;
Reserved_21_31 : HAL.UInt11 := 16#0#;
end record;
Selects the auxiliary clock source, will glitch when switching
unspecified
Asynchronously kills the clock generator
Starts and stops the clock generator cleanly
Enables duty cycle correction for odd divisors
unspecified
This delays the enable signal by up to 3 cycles of the input clock\n This must be set before the clock is enabled to have any effect
unspecified
An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n This can be done at any time
unspecified
subtype CLK_GPOUT2_DIV_FRAC_Field is HAL.UInt8;
subtype CLK_GPOUT2_DIV_INT_Field is HAL.UInt24;
type CLK_GPOUT2_DIV_Register is record
FRAC : CLK_GPOUT2_DIV_FRAC_Field := 16#0#;
INT : CLK_GPOUT2_DIV_INT_Field := 16#1#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
type CLK_GPOUT3_CTRL_AUXSRC_Field is
(clksrc_pll_sys,
clksrc_gpin0,
clksrc_gpin1,
clksrc_pll_usb,
rosc_clksrc_ph,
xosc_clksrc,
clk_sys,
clk_usb,
…,
clk_ref)
with Size => 4;
subtype CLK_GPOUT3_CTRL_PHASE_Field is HAL.UInt2;
type CLK_GPOUT3_CTRL_Register is record
Reserved_0_4 : HAL.UInt5 := 16#0#;
AUXSRC : CLK_GPOUT3_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_sys;
Reserved_9_9 : HAL.Bit := 16#0#;
KILL : Boolean := False;
ENABLE : Boolean := False;
DC50 : Boolean := False;
Reserved_13_15 : HAL.UInt3 := 16#0#;
PHASE : CLK_GPOUT3_CTRL_PHASE_Field := 16#0#;
Reserved_18_19 : HAL.UInt2 := 16#0#;
NUDGE : Boolean := False;
Reserved_21_31 : HAL.UInt11 := 16#0#;
end record;
Selects the auxiliary clock source, will glitch when switching
unspecified
Asynchronously kills the clock generator
Starts and stops the clock generator cleanly
Enables duty cycle correction for odd divisors
unspecified
This delays the enable signal by up to 3 cycles of the input clock\n This must be set before the clock is enabled to have any effect
unspecified
An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n This can be done at any time
unspecified
subtype CLK_GPOUT3_DIV_FRAC_Field is HAL.UInt8;
subtype CLK_GPOUT3_DIV_INT_Field is HAL.UInt24;
type CLK_GPOUT3_DIV_Register is record
FRAC : CLK_GPOUT3_DIV_FRAC_Field := 16#0#;
INT : CLK_GPOUT3_DIV_INT_Field := 16#1#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
type CLK_PERI_CTRL_AUXSRC_Field is
(clk_sys,
clksrc_pll_sys,
clksrc_pll_usb,
rosc_clksrc_ph,
xosc_clksrc,
clksrc_gpin0,
clksrc_gpin1)
with Size => 3;
type CLK_PERI_CTRL_Register is record
Reserved_0_4 : HAL.UInt5 := 16#0#;
AUXSRC : CLK_PERI_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clk_sys;
Reserved_8_9 : HAL.UInt2 := 16#0#;
KILL : Boolean := False;
ENABLE : Boolean := False;
Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Selects the auxiliary clock source, will glitch when switching
unspecified
Asynchronously kills the clock generator
Starts and stops the clock generator cleanly
unspecified
type CLK_REF_CTRL_AUXSRC_Field is
(clksrc_pll_usb,
clksrc_gpin0,
clksrc_gpin1)
with Size => 2;
type CLK_REF_CTRL_Register is record
SRC : CLK_REF_CTRL_SRC_Field :=
RP2040_SVD.CLOCKS.rosc_clksrc_ph;
Reserved_2_4 : HAL.UInt3 := 16#0#;
AUXSRC : CLK_REF_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_usb;
Reserved_7_31 : HAL.UInt25 := 16#0#;
end record;
unspecified
Selects the auxiliary clock source, will glitch when switching
unspecified
type CLK_REF_CTRL_SRC_Field is
(rosc_clksrc_ph,
clksrc_clk_ref_aux,
xosc_clksrc)
with Size => 2;
subtype CLK_REF_DIV_INT_Field is HAL.UInt2;
type CLK_REF_DIV_Register is record
Reserved_0_7 : HAL.UInt8 := 16#0#;
INT : CLK_REF_DIV_INT_Field := 16#1#;
Reserved_10_31 : HAL.UInt22 := 16#0#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
unspecified
type CLK_RTC_CTRL_AUXSRC_Field is
(clksrc_pll_usb,
clksrc_pll_sys,
rosc_clksrc_ph,
xosc_clksrc,
clksrc_gpin0,
clksrc_gpin1)
with Size => 3;
subtype CLK_RTC_CTRL_PHASE_Field is HAL.UInt2;
type CLK_RTC_CTRL_Register is record
Reserved_0_4 : HAL.UInt5 := 16#0#;
AUXSRC : CLK_RTC_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_usb;
Reserved_8_9 : HAL.UInt2 := 16#0#;
KILL : Boolean := False;
ENABLE : Boolean := False;
Reserved_12_15 : HAL.UInt4 := 16#0#;
PHASE : CLK_RTC_CTRL_PHASE_Field := 16#0#;
Reserved_18_19 : HAL.UInt2 := 16#0#;
NUDGE : Boolean := False;
Reserved_21_31 : HAL.UInt11 := 16#0#;
end record;
Selects the auxiliary clock source, will glitch when switching
unspecified
Asynchronously kills the clock generator
Starts and stops the clock generator cleanly
unspecified
This delays the enable signal by up to 3 cycles of the input clock\n This must be set before the clock is enabled to have any effect
unspecified
An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n This can be done at any time
unspecified
subtype CLK_RTC_DIV_FRAC_Field is HAL.UInt8;
subtype CLK_RTC_DIV_INT_Field is HAL.UInt24;
type CLK_RTC_DIV_Register is record
FRAC : CLK_RTC_DIV_FRAC_Field := 16#0#;
INT : CLK_RTC_DIV_INT_Field := 16#1#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
type CLK_SYS_CTRL_AUXSRC_Field is
(clksrc_pll_sys,
clksrc_pll_usb,
rosc_clksrc,
xosc_clksrc,
clksrc_gpin0,
clksrc_gpin1)
with Size => 3;
type CLK_SYS_CTRL_Register is record
SRC : CLK_SYS_CTRL_SRC_Field := RP2040_SVD.CLOCKS.clk_ref;
Reserved_1_4 : HAL.UInt4 := 16#0#;
AUXSRC : CLK_SYS_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_sys;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
unspecified
Selects the auxiliary clock source, will glitch when switching
unspecified
type CLK_SYS_CTRL_SRC_Field is
(clk_ref,
clksrc_clk_sys_aux)
with Size => 1;
subtype CLK_SYS_DIV_FRAC_Field is HAL.UInt8;
subtype CLK_SYS_DIV_INT_Field is HAL.UInt24;
type CLK_SYS_DIV_Register is record
FRAC : CLK_SYS_DIV_FRAC_Field := 16#0#;
INT : CLK_SYS_DIV_INT_Field := 16#1#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
type CLK_SYS_RESUS_CTRL_Register is record
TIMEOUT : CLK_SYS_RESUS_CTRL_TIMEOUT_Field := 16#FF#;
ENABLE : Boolean := False;
Reserved_9_11 : HAL.UInt3 := 16#0#;
FRCE : Boolean := False;
Reserved_13_15 : HAL.UInt3 := 16#0#;
CLEAR : Boolean := False;
Reserved_17_31 : HAL.UInt15 := 16#0#;
end record;
Enable resus
unspecified
Force a resus, for test purposes only
unspecified
For clearing the resus after the fault that triggered it has been corrected
unspecified
subtype CLK_SYS_RESUS_CTRL_TIMEOUT_Field is HAL.UInt8;
type CLK_SYS_RESUS_STATUS_Register is record
RESUSSED : Boolean;
Reserved_1_31 : HAL.UInt31;
end record;
unspecified
type CLK_USB_CTRL_AUXSRC_Field is
(clksrc_pll_usb,
clksrc_pll_sys,
rosc_clksrc_ph,
xosc_clksrc,
clksrc_gpin0,
clksrc_gpin1)
with Size => 3;
subtype CLK_USB_CTRL_PHASE_Field is HAL.UInt2;
type CLK_USB_CTRL_Register is record
Reserved_0_4 : HAL.UInt5 := 16#0#;
AUXSRC : CLK_USB_CTRL_AUXSRC_Field :=
RP2040_SVD.CLOCKS.clksrc_pll_usb;
Reserved_8_9 : HAL.UInt2 := 16#0#;
KILL : Boolean := False;
ENABLE : Boolean := False;
Reserved_12_15 : HAL.UInt4 := 16#0#;
PHASE : CLK_USB_CTRL_PHASE_Field := 16#0#;
Reserved_18_19 : HAL.UInt2 := 16#0#;
NUDGE : Boolean := False;
Reserved_21_31 : HAL.UInt11 := 16#0#;
end record;
Selects the auxiliary clock source, will glitch when switching
unspecified
Asynchronously kills the clock generator
Starts and stops the clock generator cleanly
unspecified
This delays the enable signal by up to 3 cycles of the input clock\n This must be set before the clock is enabled to have any effect
unspecified
An edge on this signal shifts the phase of the output by 1 cycle of the input clock\n This can be done at any time
unspecified
subtype CLK_USB_DIV_INT_Field is HAL.UInt2;
type CLK_USB_DIV_Register is record
Reserved_0_7 : HAL.UInt8 := 16#0#;
INT : CLK_USB_DIV_INT_Field := 16#1#;
Reserved_10_31 : HAL.UInt22 := 16#0#;
end record;
Integer component of the divisor, 0 -> divide by 2^16
unspecified
CLOCKS_Periph : aliased CLOCKS_Peripheral
with Import, Address => CLOCKS_Base;
type CLOCKS_Peripheral is record
CLK_GPOUT0_CTRL : aliased CLK_GPOUT0_CTRL_Register;
CLK_GPOUT0_DIV : aliased CLK_GPOUT0_DIV_Register;
CLK_GPOUT0_SELECTED : aliased HAL.UInt32;
CLK_GPOUT1_CTRL : aliased CLK_GPOUT1_CTRL_Register;
CLK_GPOUT1_DIV : aliased CLK_GPOUT1_DIV_Register;
CLK_GPOUT1_SELECTED : aliased HAL.UInt32;
CLK_GPOUT2_CTRL : aliased CLK_GPOUT2_CTRL_Register;
CLK_GPOUT2_DIV : aliased CLK_GPOUT2_DIV_Register;
CLK_GPOUT2_SELECTED : aliased HAL.UInt32;
CLK_GPOUT3_CTRL : aliased CLK_GPOUT3_CTRL_Register;
CLK_GPOUT3_DIV : aliased CLK_GPOUT3_DIV_Register;
CLK_GPOUT3_SELECTED : aliased HAL.UInt32;
CLK_REF_CTRL : aliased CLK_REF_CTRL_Register;
CLK_REF_DIV : aliased CLK_REF_DIV_Register;
CLK_REF_SELECTED : aliased HAL.UInt32;
CLK_SYS_CTRL : aliased CLK_SYS_CTRL_Register;
CLK_SYS_DIV : aliased CLK_SYS_DIV_Register;
CLK_SYS_SELECTED : aliased HAL.UInt32;
CLK_PERI_CTRL : aliased CLK_PERI_CTRL_Register;
CLK_PERI_SELECTED : aliased HAL.UInt32;
CLK_USB_CTRL : aliased CLK_USB_CTRL_Register;
CLK_USB_DIV : aliased CLK_USB_DIV_Register;
CLK_USB_SELECTED : aliased HAL.UInt32;
CLK_ADC_CTRL : aliased CLK_ADC_CTRL_Register;
CLK_ADC_DIV : aliased CLK_ADC_DIV_Register;
CLK_ADC_SELECTED : aliased HAL.UInt32;
CLK_RTC_CTRL : aliased CLK_RTC_CTRL_Register;
CLK_RTC_DIV : aliased CLK_RTC_DIV_Register;
CLK_RTC_SELECTED : aliased HAL.UInt32;
CLK_SYS_RESUS_CTRL : aliased CLK_SYS_RESUS_CTRL_Register;
CLK_SYS_RESUS_STATUS : aliased CLK_SYS_RESUS_STATUS_Register;
FC0_REF_KHZ : aliased FC0_REF_KHZ_Register;
FC0_MIN_KHZ : aliased FC0_MIN_KHZ_Register;
FC0_MAX_KHZ : aliased FC0_MAX_KHZ_Register;
FC0_DELAY : aliased FC0_DELAY_Register;
FC0_INTERVAL : aliased FC0_INTERVAL_Register;
FC0_SRC : aliased FC0_SRC_Register;
FC0_STATUS : aliased FC0_STATUS_Register;
FC0_RESULT : aliased FC0_RESULT_Register;
WAKE_EN0 : aliased WAKE_EN0_Register;
WAKE_EN1 : aliased WAKE_EN1_Register;
SLEEP_EN0 : aliased SLEEP_EN0_Register;
SLEEP_EN1 : aliased SLEEP_EN1_Register;
ENABLED0 : aliased ENABLED0_Register;
ENABLED1 : aliased ENABLED1_Register;
INTR : aliased INTR_Register;
INTE : aliased INTE_Register;
INTF : aliased INTF_Register;
INTS : aliased INTS_Register;
end record;
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Clock control, can be changed on-the-fly (except for auxsrc)
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Clock control, can be changed on-the-fly (except for auxsrc)
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Clock control, can be changed on-the-fly (except for auxsrc)
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Clock control, can be changed on-the-fly (except for auxsrc)
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n The glitchless multiplexer does not switch instantaneously (to avoid glitches), so software should poll this register to wait for the switch to complete. This register contains one decoded bit for each of the clock sources enumerated in the CTRL SRC field. At most one of these bits will be set at any time, indicating that clock is currently present at the output of the glitchless mux. Whilst switching is in progress, this register may briefly show all-0s.
Clock control, can be changed on-the-fly (except for auxsrc)
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n The glitchless multiplexer does not switch instantaneously (to avoid glitches), so software should poll this register to wait for the switch to complete. This register contains one decoded bit for each of the clock sources enumerated in the CTRL SRC field. At most one of these bits will be set at any time, indicating that clock is currently present at the output of the glitchless mux. Whilst switching is in progress, this register may briefly show all-0s.
Clock control, can be changed on-the-fly (except for auxsrc)
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Clock control, can be changed on-the-fly (except for auxsrc)
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Clock control, can be changed on-the-fly (except for auxsrc)
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Clock control, can be changed on-the-fly (except for auxsrc)
Clock divisor, can be changed on-the-fly
Indicates which SRC is currently selected by the glitchless mux (one-hot).\n This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Reference clock frequency in kHz
Reference clock frequency in kHz
Reference clock frequency in kHz
Minimum pass frequency in kHz. This is optional. Set to 0 if you are not using the pass/fail flags
Maximum pass frequency in kHz. This is optional. Set to 0x1ffffff if you are not using the pass/fail flags
Delays the start of frequency counting to allow the mux to settle\n Delay is measured in multiples of the reference clock period
The test interval is 0.98us * 2interval, but let's call it 1us * 2interval\n The default gives a test interval of 250us
Clock sent to frequency counter, set to 0 when not required\n Writing to this register initiates the frequency count
Frequency counter status
Result of frequency measurement, only valid when status_done=1
enable clock in wake mode
enable clock in wake mode
enable clock in sleep mode
enable clock in sleep mode
indicates the state of the clock enable
indicates the state of the clock enable
Raw Interrupts
Interrupt Enable
Interrupt Force
Interrupt status after masking & forcing
type ENABLED0_clk_sys_i2c_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : ENABLED0_clk_sys_i2c_Field_Array;
end case;
end record;
type ENABLED0_clk_sys_i2c_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type ENABLED0_clk_sys_pio_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : ENABLED0_clk_sys_pio_Field_Array;
end case;
end record;
type ENABLED0_clk_sys_pio_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type ENABLED0_clk_sys_sram_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt4;
when True =>
Arr : ENABLED0_clk_sys_sram_Field_Array;
end case;
end record;
type ENABLED0_clk_sys_sram_Field_Array is array (0 .. 3) of Boolean
with Component_Size => 1, Size => 4;
type ENABLED0_Register is record
clk_sys_clocks : Boolean;
clk_adc_adc : Boolean;
clk_sys_adc : Boolean;
clk_sys_busctrl : Boolean;
clk_sys_busfabric : Boolean;
clk_sys_dma : Boolean;
clk_sys_i2c : ENABLED0_clk_sys_i2c_Field;
clk_sys_io : Boolean;
clk_sys_jtag : Boolean;
clk_sys_vreg_and_chip_reset : Boolean;
clk_sys_pads : Boolean;
clk_sys_pio : ENABLED0_clk_sys_pio_Field;
clk_sys_pll_sys : Boolean;
clk_sys_pll_usb : Boolean;
clk_sys_psm : Boolean;
clk_sys_pwm : Boolean;
clk_sys_resets : Boolean;
clk_sys_rom : Boolean;
clk_sys_rosc : Boolean;
clk_rtc_rtc : Boolean;
clk_sys_rtc : Boolean;
clk_sys_sio : Boolean;
clk_peri_spi0 : Boolean;
clk_sys_spi0 : Boolean;
clk_peri_spi1 : Boolean;
clk_sys_spi1 : Boolean;
clk_sys_sram : ENABLED0_clk_sys_sram_Field;
end record;
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
type ENABLED1_clk_sys_sram_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : ENABLED1_clk_sys_sram_Field_Array;
end case;
end record;
type ENABLED1_clk_sys_sram_Field_Array is array (4 .. 5) of Boolean
with Component_Size => 1, Size => 2;
type ENABLED1_Register is record
clk_sys_sram : ENABLED1_clk_sys_sram_Field;
clk_sys_syscfg : Boolean;
clk_sys_sysinfo : Boolean;
clk_sys_tbman : Boolean;
clk_sys_timer : Boolean;
clk_peri_uart0 : Boolean;
clk_sys_uart0 : Boolean;
clk_peri_uart1 : Boolean;
clk_sys_uart1 : Boolean;
clk_sys_usbctrl : Boolean;
clk_usb_usbctrl : Boolean;
clk_sys_watchdog : Boolean;
clk_sys_xip : Boolean;
clk_sys_xosc : Boolean;
Reserved_15_31 : HAL.UInt17;
end record;
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
Read-only.
unspecified
subtype FC0_DELAY_FC0_DELAY_Field is HAL.UInt3;
type FC0_DELAY_Register is record
FC0_DELAY : FC0_DELAY_FC0_DELAY_Field := 16#1#;
Reserved_3_31 : HAL.UInt29 := 16#0#;
end record;
unspecified
subtype FC0_INTERVAL_FC0_INTERVAL_Field is HAL.UInt4;
type FC0_INTERVAL_Register is record
FC0_INTERVAL : FC0_INTERVAL_FC0_INTERVAL_Field := 16#8#;
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record;
unspecified
subtype FC0_MAX_KHZ_FC0_MAX_KHZ_Field is HAL.UInt25;
type FC0_MAX_KHZ_Register is record
FC0_MAX_KHZ : FC0_MAX_KHZ_FC0_MAX_KHZ_Field := 16#1FFFFFF#;
Reserved_25_31 : HAL.UInt7 := 16#0#;
end record;
unspecified
subtype FC0_MIN_KHZ_FC0_MIN_KHZ_Field is HAL.UInt25;
type FC0_MIN_KHZ_Register is record
FC0_MIN_KHZ : FC0_MIN_KHZ_FC0_MIN_KHZ_Field := 16#0#;
Reserved_25_31 : HAL.UInt7 := 16#0#;
end record;
unspecified
subtype FC0_REF_KHZ_FC0_REF_KHZ_Field is HAL.UInt20;
type FC0_REF_KHZ_Register is record
FC0_REF_KHZ : FC0_REF_KHZ_FC0_REF_KHZ_Field := 16#0#;
Reserved_20_31 : HAL.UInt12 := 16#0#;
end record;
unspecified
subtype FC0_RESULT_FRAC_Field is HAL.UInt5;
subtype FC0_RESULT_KHZ_Field is HAL.UInt25;
type FC0_RESULT_Register is record
FRAC : FC0_RESULT_FRAC_Field;
KHZ : FC0_RESULT_KHZ_Field;
Reserved_30_31 : HAL.UInt2;
end record;
Read-only.
unspecified
type FC0_SRC_FC0_SRC_Field is
(NULL_k,
pll_sys_clksrc_primary,
pll_usb_clksrc_primary,
rosc_clksrc,
rosc_clksrc_ph,
xosc_clksrc,
clksrc_gpin0,
clksrc_gpin1,
…,
clk_rtc)
with Size => 8;
type FC0_SRC_Register is record
FC0_SRC : FC0_SRC_FC0_SRC_Field := RP2040_SVD.CLOCKS.NULL_k;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
unspecified
type FC0_STATUS_Register is record
PASS : Boolean;
Reserved_1_3 : HAL.UInt3;
DONE : Boolean;
Reserved_5_7 : HAL.UInt3;
RUNNING : Boolean;
Reserved_9_11 : HAL.UInt3;
WAITING : Boolean;
Reserved_13_15 : HAL.UInt3;
FAIL : Boolean;
Reserved_17_19 : HAL.UInt3;
SLOW : Boolean;
Reserved_21_23 : HAL.UInt3;
FAST : Boolean;
Reserved_25_27 : HAL.UInt3;
DIED : Boolean;
Reserved_29_31 : HAL.UInt3;
end record;
unspecified
Read-only. Test complete
unspecified
Read-only. Test running
unspecified
Read-only. Waiting for test clock to start
unspecified
Read-only. Test failed
unspecified
Read-only. Test clock slower than expected, only valid when status_done=1
unspecified
Read-only. Test clock faster than expected, only valid when status_done=1
unspecified
Read-only. Test clock stopped during test
unspecified
type INTE_Register is record
CLK_SYS_RESUS : Boolean := False;
Reserved_1_31 : HAL.UInt31 := 16#0#;
end record;
unspecified
type INTF_Register is record
CLK_SYS_RESUS : Boolean := False;
Reserved_1_31 : HAL.UInt31 := 16#0#;
end record;
unspecified
type INTR_Register is record
CLK_SYS_RESUS : Boolean;
Reserved_1_31 : HAL.UInt31;
end record;
unspecified
type INTS_Register is record
CLK_SYS_RESUS : Boolean;
Reserved_1_31 : HAL.UInt31;
end record;
unspecified
type SLEEP_EN0_clk_sys_i2c_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : SLEEP_EN0_clk_sys_i2c_Field_Array;
end case;
end record;
type SLEEP_EN0_clk_sys_i2c_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type SLEEP_EN0_clk_sys_pio_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : SLEEP_EN0_clk_sys_pio_Field_Array;
end case;
end record;
type SLEEP_EN0_clk_sys_pio_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type SLEEP_EN0_clk_sys_sram_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt4;
when True =>
Arr : SLEEP_EN0_clk_sys_sram_Field_Array;
end case;
end record;
type SLEEP_EN0_clk_sys_sram_Field_Array is array (0 .. 3) of Boolean
with Component_Size => 1, Size => 4;
type SLEEP_EN0_Register is record
clk_sys_clocks : Boolean := True;
clk_adc_adc : Boolean := True;
clk_sys_adc : Boolean := True;
clk_sys_busctrl : Boolean := True;
clk_sys_busfabric : Boolean := True;
clk_sys_dma : Boolean := True;
clk_sys_i2c : SLEEP_EN0_clk_sys_i2c_Field :=
(As_Array => False, Val => 16#1#);
clk_sys_io : Boolean := True;
clk_sys_jtag : Boolean := True;
clk_sys_vreg_and_chip_reset : Boolean := True;
clk_sys_pads : Boolean := True;
clk_sys_pio : SLEEP_EN0_clk_sys_pio_Field :=
(As_Array => False, Val => 16#1#);
clk_sys_pll_sys : Boolean := True;
clk_sys_pll_usb : Boolean := True;
clk_sys_psm : Boolean := True;
clk_sys_pwm : Boolean := True;
clk_sys_resets : Boolean := True;
clk_sys_rom : Boolean := True;
clk_sys_rosc : Boolean := True;
clk_rtc_rtc : Boolean := True;
clk_sys_rtc : Boolean := True;
clk_sys_sio : Boolean := True;
clk_peri_spi0 : Boolean := True;
clk_sys_spi0 : Boolean := True;
clk_peri_spi1 : Boolean := True;
clk_sys_spi1 : Boolean := True;
clk_sys_sram : SLEEP_EN0_clk_sys_sram_Field :=
(As_Array => False, Val => 16#1#);
end record;
type SLEEP_EN1_clk_sys_sram_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : SLEEP_EN1_clk_sys_sram_Field_Array;
end case;
end record;
type SLEEP_EN1_clk_sys_sram_Field_Array is array (4 .. 5) of Boolean
with Component_Size => 1, Size => 2;
type SLEEP_EN1_Register is record
clk_sys_sram : SLEEP_EN1_clk_sys_sram_Field :=
(As_Array => False, Val => 16#1#);
clk_sys_syscfg : Boolean := True;
clk_sys_sysinfo : Boolean := True;
clk_sys_tbman : Boolean := True;
clk_sys_timer : Boolean := True;
clk_peri_uart0 : Boolean := True;
clk_sys_uart0 : Boolean := True;
clk_peri_uart1 : Boolean := True;
clk_sys_uart1 : Boolean := True;
clk_sys_usbctrl : Boolean := True;
clk_usb_usbctrl : Boolean := True;
clk_sys_watchdog : Boolean := True;
clk_sys_xip : Boolean := True;
clk_sys_xosc : Boolean := True;
Reserved_15_31 : HAL.UInt17 := 16#0#;
end record;
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
type WAKE_EN0_clk_sys_i2c_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : WAKE_EN0_clk_sys_i2c_Field_Array;
end case;
end record;
type WAKE_EN0_clk_sys_i2c_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type WAKE_EN0_clk_sys_pio_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : WAKE_EN0_clk_sys_pio_Field_Array;
end case;
end record;
type WAKE_EN0_clk_sys_pio_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type WAKE_EN0_clk_sys_sram_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt4;
when True =>
Arr : WAKE_EN0_clk_sys_sram_Field_Array;
end case;
end record;
type WAKE_EN0_clk_sys_sram_Field_Array is array (0 .. 3) of Boolean
with Component_Size => 1, Size => 4;
type WAKE_EN0_Register is record
clk_sys_clocks : Boolean := True;
clk_adc_adc : Boolean := True;
clk_sys_adc : Boolean := True;
clk_sys_busctrl : Boolean := True;
clk_sys_busfabric : Boolean := True;
clk_sys_dma : Boolean := True;
clk_sys_i2c : WAKE_EN0_clk_sys_i2c_Field :=
(As_Array => False, Val => 16#1#);
clk_sys_io : Boolean := True;
clk_sys_jtag : Boolean := True;
clk_sys_vreg_and_chip_reset : Boolean := True;
clk_sys_pads : Boolean := True;
clk_sys_pio : WAKE_EN0_clk_sys_pio_Field :=
(As_Array => False, Val => 16#1#);
clk_sys_pll_sys : Boolean := True;
clk_sys_pll_usb : Boolean := True;
clk_sys_psm : Boolean := True;
clk_sys_pwm : Boolean := True;
clk_sys_resets : Boolean := True;
clk_sys_rom : Boolean := True;
clk_sys_rosc : Boolean := True;
clk_rtc_rtc : Boolean := True;
clk_sys_rtc : Boolean := True;
clk_sys_sio : Boolean := True;
clk_peri_spi0 : Boolean := True;
clk_sys_spi0 : Boolean := True;
clk_peri_spi1 : Boolean := True;
clk_sys_spi1 : Boolean := True;
clk_sys_sram : WAKE_EN0_clk_sys_sram_Field :=
(As_Array => False, Val => 16#1#);
end record;
type WAKE_EN1_clk_sys_sram_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : WAKE_EN1_clk_sys_sram_Field_Array;
end case;
end record;
type WAKE_EN1_clk_sys_sram_Field_Array is array (4 .. 5) of Boolean
with Component_Size => 1, Size => 2;
type WAKE_EN1_Register is record
clk_sys_sram : WAKE_EN1_clk_sys_sram_Field :=
(As_Array => False, Val => 16#1#);
clk_sys_syscfg : Boolean := True;
clk_sys_sysinfo : Boolean := True;
clk_sys_tbman : Boolean := True;
clk_sys_timer : Boolean := True;
clk_peri_uart0 : Boolean := True;
clk_sys_uart0 : Boolean := True;
clk_peri_uart1 : Boolean := True;
clk_sys_uart1 : Boolean := True;
clk_sys_usbctrl : Boolean := True;
clk_usb_usbctrl : Boolean := True;
clk_sys_watchdog : Boolean := True;
clk_sys_xip : Boolean := True;
clk_sys_xosc : Boolean := True;
Reserved_15_31 : HAL.UInt17 := 16#0#;
end record;
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified
unspecified