------------- Registers -- -------------
subtype ARMED_ARMED_Field is HAL.UInt4;
type ARMED_Register is record
ARMED : ARMED_ARMED_Field := 16#0#;
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record;
unspecified
type DBGPAUSE_DBG_Field
(As_Array : Boolean := False)
is record
case As_Array is
when False =>
Val : HAL.UInt2;
when True =>
Arr : DBGPAUSE_DBG_Field_Array;
end case;
end record;
type DBGPAUSE_DBG_Field_Array is array (0 .. 1) of Boolean
with Component_Size => 1, Size => 2;
type DBGPAUSE_Register is record
Reserved_0_0 : HAL.Bit := 16#1#;
DBG : DBGPAUSE_DBG_Field := (As_Array => False, Val => 16#1#);
Reserved_3_31 : HAL.UInt29 := 16#0#;
end record;
Pause when processor 0 is in debug mode
unspecified
type INTE_Register is record
ALARM_0 : Boolean := False;
ALARM_1 : Boolean := False;
ALARM_2 : Boolean := False;
ALARM_3 : Boolean := False;
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record;
unspecified
unspecified
unspecified
unspecified
type INTF_Register is record
ALARM_0 : Boolean := False;
ALARM_1 : Boolean := False;
ALARM_2 : Boolean := False;
ALARM_3 : Boolean := False;
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record;
unspecified
unspecified
unspecified
unspecified
type INTR_Register is record
ALARM_0 : Boolean := False;
ALARM_1 : Boolean := False;
ALARM_2 : Boolean := False;
ALARM_3 : Boolean := False;
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record;
Write data bit of one shall clear (set to zero) the corresponding bit in the field.
Write data bit of one shall clear (set to zero) the corresponding bit in the field.
Write data bit of one shall clear (set to zero) the corresponding bit in the field.
unspecified
type INTS_Register is record
ALARM_0 : Boolean;
ALARM_1 : Boolean;
ALARM_2 : Boolean;
ALARM_3 : Boolean;
Reserved_4_31 : HAL.UInt28;
end record;
Read-only.
Read-only.
Read-only.
unspecified
type PAUSE_Register is record
PAUSE : Boolean := False;
Reserved_1_31 : HAL.UInt31 := 16#0#;
end record;
unspecified
TIMER_Periph : aliased TIMER_Peripheral
with Import, Address => TIMER_Base;
type TIMER_Peripheral is record
TIMEHW : aliased HAL.UInt32;
TIMELW : aliased HAL.UInt32;
TIMEHR : aliased HAL.UInt32;
TIMELR : aliased HAL.UInt32;
ALARM0 : aliased HAL.UInt32;
ALARM1 : aliased HAL.UInt32;
ALARM2 : aliased HAL.UInt32;
ALARM3 : aliased HAL.UInt32;
ARMED : aliased ARMED_Register;
TIMERAWH : aliased HAL.UInt32;
TIMERAWL : aliased HAL.UInt32;
DBGPAUSE : aliased DBGPAUSE_Register;
PAUSE : aliased PAUSE_Register;
INTR : aliased INTR_Register;
INTE : aliased INTE_Register;
INTF : aliased INTF_Register;
INTS : aliased INTS_Register;
end record;
Write to bits 31:0 of time\n writes do not get copied to time until timehw is written
Read from bits 63:32 of time\n always read timelr before timehr
Read from bits 31:0 of time
Arm alarm 0, and configure the time it will fire.\n Once armed, the alarm fires when TIMER_ALARM0 == TIMELR.\n The alarm will disarm itself once it fires, and can\n be disarmed early using the ARMED status register.
Arm alarm 1, and configure the time it will fire.\n Once armed, the alarm fires when TIMER_ALARM1 == TIMELR.\n The alarm will disarm itself once it fires, and can\n be disarmed early using the ARMED status register.
Arm alarm 2, and configure the time it will fire.\n Once armed, the alarm fires when TIMER_ALARM2 == TIMELR.\n The alarm will disarm itself once it fires, and can\n be disarmed early using the ARMED status register.
Arm alarm 3, and configure the time it will fire.\n Once armed, the alarm fires when TIMER_ALARM3 == TIMELR.\n The alarm will disarm itself once it fires, and can\n be disarmed early using the ARMED status register.
Indicates the armed/disarmed status of each alarm.\n A write to the corresponding ALARMx register arms the alarm.\n Alarms automatically disarm upon firing, but writing ones here\n will disarm immediately without waiting to fire.
Raw read from bits 63:32 of time (no side effects)
Raw read from bits 31:0 of time (no side effects)
Set bits high to enable pause when the corresponding debug ports are active
Set high to pause the timer
Raw Interrupts
Interrupt Enable
Interrupt Force
Interrupt status after masking & forcing