RP2040_SVD.ROSC

Entities

Simple Types

Record Types

Subtypes

Variables

Description

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

COUNT_COUNT_Field

subtype COUNT_COUNT_Field is HAL.UInt8;

COUNT_Register

type COUNT_Register is record
   COUNT         : COUNT_COUNT_Field := 16#0#;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
COUNT
Reserved_8_31

CTRL_ENABLE_Field

type CTRL_ENABLE_Field is
   CTRL_ENABLE_Field_Reset,
   DISABLE,
   ENABLE)
  with Size => 12;
Enumeration Literal
CTRL_ENABLE_Field_Reset
DISABLE
ENABLE

CTRL_FREQ_RANGE_Field

type CTRL_FREQ_RANGE_Field is
   CTRL_FREQ_RANGE_Field_Reset,
   LOW,
   MEDIUM,
   TOOHIGH,
   HIGH)
  with Size => 12;
Enumeration Literal
CTRL_FREQ_RANGE_Field_Reset
LOW
MEDIUM
TOOHIGH
HIGH

CTRL_Register

type CTRL_Register is record
   FREQ_RANGE     : CTRL_FREQ_RANGE_Field := CTRL_FREQ_RANGE_Field_Reset;
   ENABLE         : CTRL_ENABLE_Field := CTRL_ENABLE_Field_Reset;
   Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
FREQ_RANGE
ENABLE
Reserved_24_31

DIV_DIV_Field

type DIV_DIV_Field is
   DIV_DIV_Field_Reset,
   PASS)
  with Size => 12;
Enumeration Literal
DIV_DIV_Field_Reset
PASS

DIV_Register

type DIV_Register is record
   DIV            : DIV_DIV_Field := DIV_DIV_Field_Reset;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
DIV
Reserved_12_31

FREQA_DS0_Field

subtype FREQA_DS0_Field is HAL.UInt3;

FREQA_DS1_Field

subtype FREQA_DS1_Field is HAL.UInt3;

FREQA_DS2_Field

subtype FREQA_DS2_Field is HAL.UInt3;

FREQA_DS3_Field

subtype FREQA_DS3_Field is HAL.UInt3;

FREQA_PASSWD_Field

type FREQA_PASSWD_Field is
   FREQA_PASSWD_Field_Reset,
   PASS)
  with Size => 16;
Enumeration Literal
FREQA_PASSWD_Field_Reset
PASS

FREQA_Register

type FREQA_Register is record
   DS0            : FREQA_DS0_Field := 16#0#;
   Reserved_3_3   : HAL.Bit := 16#0#;
   DS1            : FREQA_DS1_Field := 16#0#;
   Reserved_7_7   : HAL.Bit := 16#0#;
   DS2            : FREQA_DS2_Field := 16#0#;
   Reserved_11_11 : HAL.Bit := 16#0#;
   DS3            : FREQA_DS3_Field := 16#0#;
   Reserved_15_15 : HAL.Bit := 16#0#;
   PASSWD         : FREQA_PASSWD_Field := FREQA_PASSWD_Field_Reset;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
DS0
Reserved_3_3
DS1
Reserved_7_7
DS2
Reserved_11_11
DS3
Reserved_15_15
PASSWD

FREQB_DS4_Field

subtype FREQB_DS4_Field is HAL.UInt3;

FREQB_DS5_Field

subtype FREQB_DS5_Field is HAL.UInt3;

FREQB_DS6_Field

subtype FREQB_DS6_Field is HAL.UInt3;

FREQB_DS7_Field

subtype FREQB_DS7_Field is HAL.UInt3;

FREQB_PASSWD_Field

type FREQB_PASSWD_Field is
   FREQB_PASSWD_Field_Reset,
   PASS)
  with Size => 16;
Enumeration Literal
FREQB_PASSWD_Field_Reset
PASS

FREQB_Register

type FREQB_Register is record
   DS4            : FREQB_DS4_Field := 16#0#;
   Reserved_3_3   : HAL.Bit := 16#0#;
   DS5            : FREQB_DS5_Field := 16#0#;
   Reserved_7_7   : HAL.Bit := 16#0#;
   DS6            : FREQB_DS6_Field := 16#0#;
   Reserved_11_11 : HAL.Bit := 16#0#;
   DS7            : FREQB_DS7_Field := 16#0#;
   Reserved_15_15 : HAL.Bit := 16#0#;
   PASSWD         : FREQB_PASSWD_Field := FREQB_PASSWD_Field_Reset;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
DS4
Reserved_3_3
DS5
Reserved_7_7
DS6
Reserved_11_11
DS7
Reserved_15_15
PASSWD

PHASE_PASSWD_Field

subtype PHASE_PASSWD_Field is HAL.UInt8;

PHASE_Register

type PHASE_Register is record
   SHIFT          : PHASE_SHIFT_Field := 16#0#;
   FLIP           : Boolean := False;
   ENABLE         : Boolean := True;
   PASSWD         : PHASE_PASSWD_Field := 16#0#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
SHIFT
FLIP
ENABLE
PASSWD
Reserved_12_31

PHASE_SHIFT_Field

subtype PHASE_SHIFT_Field is HAL.UInt2;

RANDOMBIT_Register

type RANDOMBIT_Register is record
   RANDOMBIT     : Boolean;
   Reserved_1_31 : HAL.UInt31;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
RANDOMBIT
Reserved_1_31

ROSC_Periph

ROSC_Periph : aliased ROSC_Peripheral
  with Import, Address => ROSC_Base;

ROSC_Peripheral

type ROSC_Peripheral is record
   CTRL      : aliased CTRL_Register;
   FREQA     : aliased FREQA_Register;
   FREQB     : aliased FREQB_Register;
   DORMANT   : aliased HAL.UInt32;
   DIV       : aliased DIV_Register;
   PHASE     : aliased PHASE_Register;
   STATUS    : aliased STATUS_Register;
   RANDOMBIT : aliased RANDOMBIT_Register;
   COUNT     : aliased COUNT_Register;
end record
  with Volatile;
Record fields
CTRL
FREQA
FREQB
DORMANT
DIV
PHASE
STATUS
RANDOMBIT
COUNT

STATUS_Register

type STATUS_Register is record
   Reserved_0_11  : HAL.UInt12 := 16#0#;
   ENABLED        : Boolean := False;
   Reserved_13_15 : HAL.UInt3 := 16#0#;
   DIV_RUNNING    : Boolean := False;
   Reserved_17_23 : HAL.UInt7 := 16#0#;
   BADWRITE       : Boolean := False;
   Reserved_25_30 : HAL.UInt6 := 16#0#;
   STABLE         : Boolean := False;
end record
  with Volatile_Full_Access, Object_Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
Reserved_0_11
ENABLED
Reserved_13_15
DIV_RUNNING
Reserved_17_23
BADWRITE
Reserved_25_30
STABLE