------------- Registers -- -------------
type BOD_Register is record
EN : Boolean := True;
Reserved_1_3 : HAL.UInt3 := 16#0#;
VSEL : BOD_VSEL_Field := 16#9#;
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype BOD_VSEL_Field is HAL.UInt4;
type CHIP_RESET_Register is record
Reserved_0_7 : HAL.UInt8 := 16#0#;
HAD_POR : Boolean := False;
Reserved_9_15 : HAL.UInt7 := 16#0#;
HAD_RUN : Boolean := False;
Reserved_17_19 : HAL.UInt3 := 16#0#;
HAD_PSM_RESTART : Boolean := False;
Reserved_21_23 : HAL.UInt3 := 16#0#;
PSM_RESTART_FLAG : Boolean := False;
Reserved_25_31 : HAL.UInt7 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
VREG_AND_CHIP_RESET_Periph : aliased VREG_AND_CHIP_RESET_Peripheral
with Import, Address => VREG_AND_CHIP_RESET_Base;
type VREG_AND_CHIP_RESET_Peripheral is record
VREG : aliased VREG_Register;
BOD : aliased BOD_Register;
CHIP_RESET : aliased CHIP_RESET_Register;
end record
with Volatile;
type VREG_Register is record
EN : Boolean := True;
HIZ : Boolean := False;
Reserved_2_3 : HAL.UInt2 := 16#0#;
VSEL : VREG_VSEL_Field := 16#B#;
Reserved_8_11 : HAL.UInt4 := 16#0#;
ROK : Boolean := False;
Reserved_13_31 : HAL.UInt19 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
subtype VREG_VSEL_Field is HAL.UInt4;