------------- 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;
unspecified
Passes the reference clock to the output instead of the divided VCO. The VCO continues to run so the user can switch between the reference clock and the divided VCO but the output will glitch when doing so.
unspecified
Read-only. PLL is locked
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;
unspecified
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;
Controls the PLL power modes.
Feedback divisor\n (note: this PLL does not support fractional division)
Controls the PLL post dividers for the primary output\n (note: this PLL does not have a secondary output)\n the primary output is driven from VCO divided by postdiv1*postdiv2
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;
divide by 1-7
unspecified
divide by 1-7
unspecified
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;
unspecified
PLL DSM powerdown\n Nothing is achieved by setting this low.
PLL post divider powerdown\n To save power set high when PLL output not required or bypass=1.
unspecified
PLL VCO powerdown\n To save power set high when PLL output not required or bypass=1.
unspecified