------------- Registers -- -------------
type AIRCR_Register is record
Reserved_0_0 : HAL.Bit := 16#0#;
VECTCLRACTIVE : Boolean := False;
SYSRESETREQ : Boolean := False;
Reserved_3_14 : HAL.UInt12 := 16#0#;
ENDIANESS : Boolean := False;
VECTKEY : AIRCR_VECTKEY_Field := 16#0#;
end record;
Clears all active state information for fixed and configurable exceptions. This bit: is self-clearing, can only be set by the DAP when the core is halted. When set: clears all active exception status of the processor, forces a return to Thread mode, forces an IPSR of 0. A debugger must re-initialize the stack.
Writing 1 to this bit causes the SYSRESETREQ signal to the outer system to be asserted to request a reset. The intention is to force a large system reset of all major components except for debug. The C_HALT bit in the DHCSR is cleared as a result of the system reset requested. The debugger does not lose contact with the device.
unspecified
Read-only. Data endianness implemented:\n 0 = Little-endian.
Register key:\n Reads as Unknown\n On writes, write 0x05FA to VECTKEY, otherwise the write is ignored.
subtype AIRCR_VECTKEY_Field is HAL.UInt16;
type CCR_Register is record
Reserved_0_2 : HAL.UInt3;
UNALIGN_TRP : Boolean;
Reserved_4_8 : HAL.UInt5;
STKALIGN : Boolean;
Reserved_10_31 : HAL.UInt22;
end record;
Read-only. Always reads as one, indicates that all unaligned accesses generate a HardFault.
unspecified
Read-only. Always reads as one, indicates 8-byte stack alignment on exception entry. On exception entry, the processor uses bit[9] of the stacked PSR to indicate the stack alignment. On return from the exception it uses this stacked bit to restore the correct stack alignment.
unspecified
subtype CPUID_ARCHITECTURE_Field is HAL.UInt4;
subtype CPUID_IMPLEMENTER_Field is HAL.UInt8;
subtype CPUID_PARTNO_Field is HAL.UInt12;
type CPUID_Register is record
REVISION : CPUID_REVISION_Field;
PARTNO : CPUID_PARTNO_Field;
ARCHITECTURE : CPUID_ARCHITECTURE_Field;
VARIANT : CPUID_VARIANT_Field;
IMPLEMENTER : CPUID_IMPLEMENTER_Field;
end record;
Read-only. Number of processor within family: 0xC60 = Cortex-M0+
Read-only. Constant that defines the architecture of the processor:\n 0xC = ARMv6-M architecture.
Read-only. Major revision number n in the rnpm revision status:\n 0x0 = Revision 0.
Read-only. Implementor code: 0x41 = ARM
subtype CPUID_REVISION_Field is HAL.UInt4;
subtype CPUID_VARIANT_Field is HAL.UInt4;
type ICSR_Register is record
VECTACTIVE : ICSR_VECTACTIVE_Field := 16#0#;
Reserved_9_11 : HAL.UInt3 := 16#0#;
VECTPENDING : ICSR_VECTPENDING_Field := 16#0#;
Reserved_21_21 : HAL.Bit := 16#0#;
ISRPENDING : Boolean := False;
ISRPREEMPT : Boolean := False;
Reserved_24_24 : HAL.Bit := 16#0#;
PENDSTCLR : Boolean := False;
PENDSTSET : Boolean := False;
PENDSVCLR : Boolean := False;
PENDSVSET : Boolean := False;
Reserved_29_30 : HAL.UInt2 := 16#0#;
NMIPENDSET : Boolean := False;
end record;
unspecified
Read-only. Indicates the exception number for the highest priority pending exception: 0 = no pending exceptions. Non zero = The pending state includes the effect of memory-mapped enable and mask registers. It does not include the PRIMASK special-purpose register qualifier.
unspecified
Read-only. External interrupt pending flag
Read-only. The system can only access this bit when the core is halted. It indicates that a pending interrupt is to be taken in the next running cycle. If C_MASKINTS is clear in the Debug Halting Control and Status Register, the interrupt is serviced.
unspecified
SysTick exception clear-pending bit.\n Write:\n 0 = No effect.\n 1 = Removes the pending state from the SysTick exception.\n This bit is WO. On a register read its value is Unknown.
SysTick exception set-pending bit.\n Write:\n 0 = No effect.\n 1 = Changes SysTick exception state to pending.\n Read:\n 0 = SysTick exception is not pending.\n 1 = SysTick exception is pending.
PendSV clear-pending bit.\n Write:\n 0 = No effect.\n 1 = Removes the pending state from the PendSV exception.
PendSV set-pending bit.\n Write:\n 0 = No effect.\n 1 = Changes PendSV exception state to pending.\n Read:\n 0 = PendSV exception is not pending.\n 1 = PendSV exception is pending.\n Writing 1 to this bit is the only way to set the PendSV exception state to pending.
unspecified
Setting this bit will activate an NMI. Since NMI is the highest priority exception, it will activate as soon as it is registered.\n NMI set-pending bit.\n Write:\n 0 = No effect.\n 1 = Changes NMI exception state to pending.\n Read:\n 0 = NMI exception is not pending.\n 1 = NMI exception is pending.\n Because NMI is the highest-priority exception, normally the processor enters the NMI\n exception handler as soon as it detects a write of 1 to this bit. Entering the handler then clears\n this bit to 0. This means a read of this bit by the NMI exception handler returns 1 only if the\n NMI signal is reasserted while the processor is executing that handler.
subtype ICSR_VECTACTIVE_Field is HAL.UInt9;
subtype ICSR_VECTPENDING_Field is HAL.UInt9;
type MPU_CTRL_Register is record
ENABLE : Boolean := False;
HFNMIENA : Boolean := False;
PRIVDEFENA : Boolean := False;
Reserved_3_31 : HAL.UInt29 := 16#0#;
end record;
Controls the use of the MPU for HardFaults and NMIs. Setting this bit when ENABLE is clear results in UNPREDICTABLE behaviour.\n When the MPU is enabled:\n 0 = MPU is disabled during HardFault and NMI handlers, regardless of the value of the ENABLE bit.\n 1 = the MPU is enabled during HardFault and NMI handlers.
Controls whether the default memory map is enabled as a background region for privileged accesses. This bit is ignored when ENABLE is clear.\n 0 = If the MPU is enabled, disables use of the default memory map. Any memory access to a location not\n covered by any enabled region causes a fault.\n 1 = If the MPU is enabled, enables use of the default memory map as a background region for privileged software accesses.\n When enabled, the background region acts as if it is region number -1. Any region that is defined and enabled has priority over this default map.
unspecified
subtype MPU_RASR_ATTRS_Field is HAL.UInt16;
type MPU_RASR_Register is record
ENABLE : Boolean := False;
SIZE : MPU_RASR_SIZE_Field := 16#0#;
Reserved_6_7 : HAL.UInt2 := 16#0#;
SRD : MPU_RASR_SRD_Field := 16#0#;
ATTRS : MPU_RASR_ATTRS_Field := 16#0#;
end record;
Indicates the region size. Region size in bytes = 2^(SIZE+1). The minimum permitted value is 7 (b00111) = 256Bytes
unspecified
Subregion Disable. For regions of 256 bytes or larger, each bit of this field controls whether one of the eight equal subregions is enabled.
The MPU Region Attribute field. Use to define the region attribute control.\n 28 = XN: Instruction access disable bit:\n 0 = Instruction fetches enabled.\n 1 = Instruction fetches disabled.\n 26:24 = AP: Access permission field\n 18 = S: Shareable bit\n 17 = C: Cacheable bit\n 16 = B: Bufferable bit
subtype MPU_RASR_SIZE_Field is HAL.UInt5;
subtype MPU_RASR_SRD_Field is HAL.UInt8;
subtype MPU_RBAR_ADDR_Field is HAL.UInt24;
subtype MPU_RBAR_REGION_Field is HAL.UInt4;
type MPU_RBAR_Register is record
REGION : MPU_RBAR_REGION_Field := 16#0#;
VALID : Boolean := False;
Reserved_5_7 : HAL.UInt3 := 16#0#;
ADDR : MPU_RBAR_ADDR_Field := 16#0#;
end record;
On writes, indicates whether the write must update the base address of the region identified by the REGION field, updating the MPU_RNR to indicate this new region.\n Write:\n 0 = MPU_RNR not changed, and the processor:\n Updates the base address for the region specified in the MPU_RNR.\n Ignores the value of the REGION field.\n 1 = The processor:\n Updates the value of the MPU_RNR to the value of the REGION field.\n Updates the base address for the region specified in the REGION field.\n Always reads as zero.
unspecified
Base address of the region.
subtype MPU_RNR_REGION_Field is HAL.UInt4;
type MPU_RNR_Register is record
REGION : MPU_RNR_REGION_Field := 16#0#;
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record;
unspecified
subtype MPU_TYPE_DREGION_Field is HAL.UInt8;
subtype MPU_TYPE_IREGION_Field is HAL.UInt8;
type MPU_TYPE_Register is record
SEPARATE_k : Boolean;
Reserved_1_7 : HAL.UInt7;
DREGION : MPU_TYPE_DREGION_Field;
IREGION : MPU_TYPE_IREGION_Field;
Reserved_24_31 : HAL.UInt8;
end record;
unspecified
Read-only. Number of regions supported by the MPU.
Read-only. Instruction region. Reads as zero as ARMv6-M only supports a unified MPU.
unspecified
subtype NVIC_IPR0_IP_0_Field is HAL.UInt2;
subtype NVIC_IPR0_IP_1_Field is HAL.UInt2;
subtype NVIC_IPR0_IP_2_Field is HAL.UInt2;
subtype NVIC_IPR0_IP_3_Field is HAL.UInt2;
type NVIC_IPR0_Register is record
Reserved_0_5 : HAL.UInt6 := 16#0#;
IP_0 : NVIC_IPR0_IP_0_Field := 16#0#;
Reserved_8_13 : HAL.UInt6 := 16#0#;
IP_1 : NVIC_IPR0_IP_1_Field := 16#0#;
Reserved_16_21 : HAL.UInt6 := 16#0#;
IP_2 : NVIC_IPR0_IP_2_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
IP_3 : NVIC_IPR0_IP_3_Field := 16#0#;
end record;
Priority of interrupt 0
unspecified
Priority of interrupt 1
unspecified
Priority of interrupt 2
unspecified
Priority of interrupt 3
subtype NVIC_IPR1_IP_4_Field is HAL.UInt2;
subtype NVIC_IPR1_IP_5_Field is HAL.UInt2;
subtype NVIC_IPR1_IP_6_Field is HAL.UInt2;
subtype NVIC_IPR1_IP_7_Field is HAL.UInt2;
type NVIC_IPR1_Register is record
Reserved_0_5 : HAL.UInt6 := 16#0#;
IP_4 : NVIC_IPR1_IP_4_Field := 16#0#;
Reserved_8_13 : HAL.UInt6 := 16#0#;
IP_5 : NVIC_IPR1_IP_5_Field := 16#0#;
Reserved_16_21 : HAL.UInt6 := 16#0#;
IP_6 : NVIC_IPR1_IP_6_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
IP_7 : NVIC_IPR1_IP_7_Field := 16#0#;
end record;
Priority of interrupt 4
unspecified
Priority of interrupt 5
unspecified
Priority of interrupt 6
unspecified
Priority of interrupt 7
subtype NVIC_IPR2_IP_10_Field is HAL.UInt2;
subtype NVIC_IPR2_IP_11_Field is HAL.UInt2;
subtype NVIC_IPR2_IP_8_Field is HAL.UInt2;
subtype NVIC_IPR2_IP_9_Field is HAL.UInt2;
type NVIC_IPR2_Register is record
Reserved_0_5 : HAL.UInt6 := 16#0#;
IP_8 : NVIC_IPR2_IP_8_Field := 16#0#;
Reserved_8_13 : HAL.UInt6 := 16#0#;
IP_9 : NVIC_IPR2_IP_9_Field := 16#0#;
Reserved_16_21 : HAL.UInt6 := 16#0#;
IP_10 : NVIC_IPR2_IP_10_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
IP_11 : NVIC_IPR2_IP_11_Field := 16#0#;
end record;
Priority of interrupt 8
unspecified
Priority of interrupt 9
unspecified
Priority of interrupt 10
unspecified
Priority of interrupt 11
subtype NVIC_IPR3_IP_12_Field is HAL.UInt2;
subtype NVIC_IPR3_IP_13_Field is HAL.UInt2;
subtype NVIC_IPR3_IP_14_Field is HAL.UInt2;
subtype NVIC_IPR3_IP_15_Field is HAL.UInt2;
type NVIC_IPR3_Register is record
Reserved_0_5 : HAL.UInt6 := 16#0#;
IP_12 : NVIC_IPR3_IP_12_Field := 16#0#;
Reserved_8_13 : HAL.UInt6 := 16#0#;
IP_13 : NVIC_IPR3_IP_13_Field := 16#0#;
Reserved_16_21 : HAL.UInt6 := 16#0#;
IP_14 : NVIC_IPR3_IP_14_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
IP_15 : NVIC_IPR3_IP_15_Field := 16#0#;
end record;
Priority of interrupt 12
unspecified
Priority of interrupt 13
unspecified
Priority of interrupt 14
unspecified
Priority of interrupt 15
subtype NVIC_IPR4_IP_16_Field is HAL.UInt2;
subtype NVIC_IPR4_IP_17_Field is HAL.UInt2;
subtype NVIC_IPR4_IP_18_Field is HAL.UInt2;
subtype NVIC_IPR4_IP_19_Field is HAL.UInt2;
type NVIC_IPR4_Register is record
Reserved_0_5 : HAL.UInt6 := 16#0#;
IP_16 : NVIC_IPR4_IP_16_Field := 16#0#;
Reserved_8_13 : HAL.UInt6 := 16#0#;
IP_17 : NVIC_IPR4_IP_17_Field := 16#0#;
Reserved_16_21 : HAL.UInt6 := 16#0#;
IP_18 : NVIC_IPR4_IP_18_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
IP_19 : NVIC_IPR4_IP_19_Field := 16#0#;
end record;
Priority of interrupt 16
unspecified
Priority of interrupt 17
unspecified
Priority of interrupt 18
unspecified
Priority of interrupt 19
subtype NVIC_IPR5_IP_20_Field is HAL.UInt2;
subtype NVIC_IPR5_IP_21_Field is HAL.UInt2;
subtype NVIC_IPR5_IP_22_Field is HAL.UInt2;
subtype NVIC_IPR5_IP_23_Field is HAL.UInt2;
type NVIC_IPR5_Register is record
Reserved_0_5 : HAL.UInt6 := 16#0#;
IP_20 : NVIC_IPR5_IP_20_Field := 16#0#;
Reserved_8_13 : HAL.UInt6 := 16#0#;
IP_21 : NVIC_IPR5_IP_21_Field := 16#0#;
Reserved_16_21 : HAL.UInt6 := 16#0#;
IP_22 : NVIC_IPR5_IP_22_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
IP_23 : NVIC_IPR5_IP_23_Field := 16#0#;
end record;
Priority of interrupt 20
unspecified
Priority of interrupt 21
unspecified
Priority of interrupt 22
unspecified
Priority of interrupt 23
subtype NVIC_IPR6_IP_24_Field is HAL.UInt2;
subtype NVIC_IPR6_IP_25_Field is HAL.UInt2;
subtype NVIC_IPR6_IP_26_Field is HAL.UInt2;
subtype NVIC_IPR6_IP_27_Field is HAL.UInt2;
type NVIC_IPR6_Register is record
Reserved_0_5 : HAL.UInt6 := 16#0#;
IP_24 : NVIC_IPR6_IP_24_Field := 16#0#;
Reserved_8_13 : HAL.UInt6 := 16#0#;
IP_25 : NVIC_IPR6_IP_25_Field := 16#0#;
Reserved_16_21 : HAL.UInt6 := 16#0#;
IP_26 : NVIC_IPR6_IP_26_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
IP_27 : NVIC_IPR6_IP_27_Field := 16#0#;
end record;
Priority of interrupt 24
unspecified
Priority of interrupt 25
unspecified
Priority of interrupt 26
unspecified
Priority of interrupt 27
subtype NVIC_IPR7_IP_28_Field is HAL.UInt2;
subtype NVIC_IPR7_IP_29_Field is HAL.UInt2;
subtype NVIC_IPR7_IP_30_Field is HAL.UInt2;
subtype NVIC_IPR7_IP_31_Field is HAL.UInt2;
type NVIC_IPR7_Register is record
Reserved_0_5 : HAL.UInt6 := 16#0#;
IP_28 : NVIC_IPR7_IP_28_Field := 16#0#;
Reserved_8_13 : HAL.UInt6 := 16#0#;
IP_29 : NVIC_IPR7_IP_29_Field := 16#0#;
Reserved_16_21 : HAL.UInt6 := 16#0#;
IP_30 : NVIC_IPR7_IP_30_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
IP_31 : NVIC_IPR7_IP_31_Field := 16#0#;
end record;
Priority of interrupt 28
unspecified
Priority of interrupt 29
unspecified
Priority of interrupt 30
unspecified
Priority of interrupt 31
PPB_Periph : aliased PPB_Peripheral
with Import, Address => PPB_Base;
type PPB_Peripheral is record
SYST_CSR : aliased SYST_CSR_Register;
SYST_RVR : aliased SYST_RVR_Register;
SYST_CVR : aliased SYST_CVR_Register;
SYST_CALIB : aliased SYST_CALIB_Register;
NVIC_ISER : aliased HAL.UInt32;
NVIC_ICER : aliased HAL.UInt32;
NVIC_ISPR : aliased HAL.UInt32;
NVIC_ICPR : aliased HAL.UInt32;
NVIC_IPR0 : aliased NVIC_IPR0_Register;
NVIC_IPR1 : aliased NVIC_IPR1_Register;
NVIC_IPR2 : aliased NVIC_IPR2_Register;
NVIC_IPR3 : aliased NVIC_IPR3_Register;
NVIC_IPR4 : aliased NVIC_IPR4_Register;
NVIC_IPR5 : aliased NVIC_IPR5_Register;
NVIC_IPR6 : aliased NVIC_IPR6_Register;
NVIC_IPR7 : aliased NVIC_IPR7_Register;
CPUID : aliased CPUID_Register;
ICSR : aliased ICSR_Register;
VTOR : aliased VTOR_Register;
AIRCR : aliased AIRCR_Register;
SCR : aliased SCR_Register;
CCR : aliased CCR_Register;
SHPR2 : aliased SHPR2_Register;
SHPR3 : aliased SHPR3_Register;
SHCSR : aliased SHCSR_Register;
MPU_TYPE : aliased MPU_TYPE_Register;
MPU_CTRL : aliased MPU_CTRL_Register;
MPU_RNR : aliased MPU_RNR_Register;
MPU_RBAR : aliased MPU_RBAR_Register;
MPU_RASR : aliased MPU_RASR_Register;
end record;
Use the SysTick Reload Value Register to specify the start value to load into the current value register when the counter reaches 0. It can be any value between 0 and 0x00FFFFFF. A start value of 0 is possible, but has no effect because the SysTick interrupt and COUNTFLAG are activated when counting from 1 to 0. The reset value of this register is UNKNOWN.\n To generate a multi-shot timer with a period of N processor clock cycles, use a RELOAD value of N-1. For example, if the SysTick interrupt is required every 100 clock pulses, set RELOAD to 99.
Use the SysTick Current Value Register to find the current value in the register. The reset value of this register is UNKNOWN.
Use the SysTick Calibration Value Register to enable software to scale to any required speed using divide and multiply.
Use the Interrupt Set-Enable Register to enable interrupts and determine which interrupts are currently enabled.\n If a pending interrupt is enabled, the NVIC activates the interrupt based on its priority. If an interrupt is not enabled, asserting its interrupt signal changes the interrupt state to pending, but the NVIC never activates the interrupt, regardless of its priority.
Use the Interrupt Clear-Enable Registers to disable interrupts and determine which interrupts are currently enabled.
The NVIC_ISPR forces interrupts into the pending state, and shows which interrupts are pending.
Use the Interrupt Clear-Pending Register to clear pending interrupts and determine which interrupts are currently pending.
Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest.\n Note: Writing 1 to an NVIC_ICPR bit does not affect the active state of the corresponding interrupt.\n These registers are only word-accessible
Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest.
Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest.
Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest.
Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest.
Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest.
Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest.
Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest.
Read the CPU ID Base Register to determine: the ID number of the processor core, the version number of the processor core, the implementation details of the processor core.
Use the Interrupt Control State Register to set a pending Non-Maskable Interrupt (NMI), set or clear a pending PendSV, set or clear a pending SysTick, check for pending exceptions, check the vector number of the highest priority pended exception, check the vector number of the active exception.
The VTOR holds the vector table offset address.
Use the Application Interrupt and Reset Control Register to: determine data endianness, clear all active state information from debug halt mode, request a system reset.
System Control Register. Use the System Control Register for power-management functions: signal to the system when the processor can enter a low power state, control how the processor enters and exits low power states.
The Configuration and Control Register permanently enables stack alignment and causes unaligned accesses to result in a Hard Fault.
System handlers are a special class of exception handler that can have their priority set to any of the priority levels. Use the System Handler Priority Register 2 to set the priority of SVCall.
System handlers are a special class of exception handler that can have their priority set to any of the priority levels. Use the System Handler Priority Register 3 to set the priority of PendSV and SysTick.
Use the System Handler Control and State Register to determine or clear the pending status of SVCall.
Read the MPU Type Register to determine if the processor implements an MPU, and how many regions the MPU supports.
Use the MPU Control Register to enable and disable the MPU, and to control whether the default memory map is enabled as a background region for privileged accesses, and whether the MPU is enabled for HardFaults and NMIs.
Use the MPU Region Number Register to select the region currently accessed by MPU_RBAR and MPU_RASR.
Read the MPU Region Base Address Register to determine the base address of the region identified by MPU_RNR. Write to update the base address of said region or that of a specified region, with whose number MPU_RNR will also be updated.
Use the MPU Region Attribute and Size Register to define the size, access behaviour and memory type of the region identified by MPU_RNR, and enable that region.
type SCR_Register is record
Reserved_0_0 : HAL.Bit := 16#0#;
SLEEPONEXIT : Boolean := False;
SLEEPDEEP : Boolean := False;
Reserved_3_3 : HAL.Bit := 16#0#;
SEVONPEND : Boolean := False;
Reserved_5_31 : HAL.UInt27 := 16#0#;
end record;
Indicates sleep-on-exit when returning from Handler mode to Thread mode:\n 0 = Do not sleep when returning to Thread mode.\n 1 = Enter sleep, or deep sleep, on return from an ISR to Thread mode.\n Setting this bit to 1 enables an interrupt driven application to avoid returning to an empty main application.
Controls whether the processor uses sleep or deep sleep as its low power mode:\n 0 = Sleep.\n 1 = Deep sleep.
unspecified
Send Event on Pending bit:\n 0 = Only enabled interrupts or events can wakeup the processor, disabled interrupts are excluded.\n 1 = Enabled events and all interrupts, including disabled interrupts, can wakeup the processor.\n When an event or interrupt becomes pending, the event signal wakes up the processor from WFE. If the\n processor is not waiting for an event, the event is registered and affects the next WFE.\n The processor also wakes up on execution of an SEV instruction or an external event.
unspecified
type SHCSR_Register is record
Reserved_0_14 : HAL.UInt15 := 16#0#;
SVCALLPENDED : Boolean := False;
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Reads as 1 if SVCall is Pending. Write 1 to set pending SVCall, write 0 to clear pending SVCall.
unspecified
subtype SHPR2_PRI_11_Field is HAL.UInt2;
type SHPR2_Register is record
Reserved_0_29 : HAL.UInt30 := 16#0#;
PRI_11 : SHPR2_PRI_11_Field := 16#0#;
end record;
Priority of system handler 11, SVCall
subtype SHPR3_PRI_14_Field is HAL.UInt2;
subtype SHPR3_PRI_15_Field is HAL.UInt2;
type SHPR3_Register is record
Reserved_0_21 : HAL.UInt22 := 16#0#;
PRI_14 : SHPR3_PRI_14_Field := 16#0#;
Reserved_24_29 : HAL.UInt6 := 16#0#;
PRI_15 : SHPR3_PRI_15_Field := 16#0#;
end record;
Priority of system handler 14, PendSV
unspecified
Priority of system handler 15, SysTick
type SYST_CALIB_Register is record
TENMS : SYST_CALIB_TENMS_Field;
Reserved_24_29 : HAL.UInt6;
SKEW : Boolean;
NOREF : Boolean;
end record;
unspecified
Read-only. If reads as 1, the calibration value for 10ms is inexact (due to clock frequency).
Read-only. If reads as 1, the Reference clock is not provided - the CLKSOURCE bit of the SysTick Control and Status register will be forced to 1 and cannot be cleared to 0.
subtype SYST_CALIB_TENMS_Field is HAL.UInt24;
type SYST_CSR_Register is record
ENABLE : Boolean := False;
TICKINT : Boolean := False;
CLKSOURCE : Boolean := False;
Reserved_3_15 : HAL.UInt13 := 16#0#;
COUNTFLAG : Boolean := False;
Reserved_17_31 : HAL.UInt15 := 16#0#;
end record;
Enables SysTick exception request:\n 0 = Counting down to zero does not assert the SysTick exception request.\n 1 = Counting down to zero to asserts the SysTick exception request.
SysTick clock source. Always reads as one if SYST_CALIB reports NOREF.\n Selects the SysTick timer clock source:\n 0 = External reference clock.\n 1 = Processor clock.
unspecified
Read-only. Returns 1 if timer counted to 0 since last time this was read. Clears on read by application or debugger.
unspecified
subtype SYST_CVR_CURRENT_Field is HAL.UInt24;
type SYST_CVR_Register is record
CURRENT : SYST_CVR_CURRENT_Field := 16#0#;
Reserved_24_31 : HAL.UInt8 := 16#0#;
end record;
unspecified
type SYST_RVR_Register is record
RELOAD : SYST_RVR_RELOAD_Field := 16#0#;
Reserved_24_31 : HAL.UInt8 := 16#0#;
end record;
unspecified
subtype SYST_RVR_RELOAD_Field is HAL.UInt24;
type VTOR_Register is record
Reserved_0_7 : HAL.UInt8 := 16#0#;
TBLOFF : VTOR_TBLOFF_Field := 16#0#;
end record;
Bits [31:8] of the indicate the vector table offset address.
subtype VTOR_TBLOFF_Field is HAL.UInt24;