------------- Registers -- -------------
subtype CS_REFDIV_Field is HAL.UInt6;
type CS_Register is record
REFDIV : CS_REFDIV_Field := 16#1#;
Reserved_6_7 : HAL.UInt2 := 16#0#;
BYPASS : Boolean := False;
Reserved_9_30 : HAL.UInt22 := 16#0#;
LOCK : Boolean := False;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype FBDIV_INT_FBDIV_INT_Field is HAL.UInt12;
type FBDIV_INT_Register is record
FBDIV_INT : FBDIV_INT_FBDIV_INT_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;
type PLL_Peripheral is record
CS : aliased CS_Register;
PWR : aliased PWR_Register;
FBDIV_INT : aliased FBDIV_INT_Register;
PRIM : aliased PRIM_Register;
end record
with Volatile;
PLL_SYS_Periph : aliased PLL_Peripheral
with Import, Address => PLL_SYS_Base;
PLL_USB_Periph : aliased PLL_Peripheral
with Import, Address => PLL_USB_Base;
subtype PRIM_POSTDIV1_Field is HAL.UInt3;
subtype PRIM_POSTDIV2_Field is HAL.UInt3;
type PRIM_Register is record
Reserved_0_11 : HAL.UInt12 := 16#0#;
POSTDIV2 : PRIM_POSTDIV2_Field := 16#7#;
Reserved_15_15 : HAL.Bit := 16#0#;
POSTDIV1 : PRIM_POSTDIV1_Field := 16#7#;
Reserved_19_31 : HAL.UInt13 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
type PWR_Register is record
PD : Boolean := True;
Reserved_1_1 : HAL.Bit := 16#0#;
DSMPD : Boolean := True;
POSTDIVPD : Boolean := True;
Reserved_4_4 : HAL.Bit := 16#0#;
VCOPD : Boolean := True;
Reserved_6_31 : HAL.UInt26 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;