Cortex_M_SVD.SCB

Entities

Simple Types

Record Types

Subtypes

Variables

Description

------------- Registers -- -------------

AIRCR_ENDIANNESS_Field

type AIRCR_ENDIANNESS_Field is
  (
   Little_Endian,
   Big_Endian)
  with Size => 1;
Enumeration Literal
Little_Endian

Data is big endian

Big_Endian

AIRCR_Register

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#;
   ENDIANNESS    : AIRCR_ENDIANNESS_Field :=
                    Cortex_M_SVD.SCB.Little_Endian;
   VECTKEY       : AIRCR_VECTKEY_Field := Cortex_M_SVD.SCB.Key_Read;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
Reserved_0_0
VECTCLRACTIVE
SYSRESETREQ
Reserved_3_14
ENDIANNESS
VECTKEY

AIRCR_VECTKEY_Field

type AIRCR_VECTKEY_Field is
  (
   Key,
   Key_Read)
  with Size => 16;
Enumeration Literal
Key

The read key

Key_Read

CCR_Register

type CCR_Register is record
   Reserved_0_2   : HAL.UInt3 := 16#0#;
   UNALIGNED_TRP  : Boolean := False;
   Reserved_4_8   : HAL.UInt5 := 16#0#;
   STKALIGN       : Boolean := True;
   Reserved_10_31 : HAL.UInt22 := 16#0#;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
Reserved_0_2
UNALIGNED_TRP
Reserved_4_8
STKALIGN
Reserved_10_31

CPUID_Constant_Field

subtype CPUID_Constant_Field is HAL.UInt4;

CPUID_Implementer_Field

type CPUID_Implementer_Field is
  (
   Arm)
  with Size => 8;
Enumeration Literal
Arm

CPUID_PartNo_Field

type CPUID_PartNo_Field is
  (
   Cortex_M7)
  with Size => 12;
Enumeration Literal
Cortex_M7

CPUID_Register

type CPUID_Register is record
   Revision    : CPUID_Revision_Field;
   PartNo      : CPUID_PartNo_Field;
   Constant_k  : CPUID_Constant_Field;
   Variant     : CPUID_Variant_Field;
   Implementer : CPUID_Implementer_Field;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
Revision
PartNo
Constant_k
Variant
Implementer

CPUID_Revision_Field

type CPUID_Revision_Field is
  (
   P0,
   P1,
   P2)
  with Size => 4;
Enumeration Literal
P0

Patch 1

P1

Patch 2

P2

CPUID_Variant_Field

type CPUID_Variant_Field is
  (
   R0,
   R1)
  with Size => 4;
Enumeration Literal
R0

Revision 1

R1

ICSR_Register

type ICSR_Register is record
   VECTACTIVE     : ICSR_VECTACTIVE_Field := 16#0#;
   Reserved_6_11  : HAL.UInt6 := 16#0#;
   VECTPENDING    : ICSR_VECTPENDING_Field := 16#0#;
   Reserved_18_21 : HAL.UInt4 := 16#0#;
   ISRPENDING     : Boolean := False;
   Reserved_23_24 : HAL.UInt2 := 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
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
VECTACTIVE
Reserved_6_11
VECTPENDING
Reserved_18_21
ISRPENDING
Reserved_23_24
PENDSTCLR
PENDSTSET
PENDSVCLR
PENDSVSET
Reserved_29_30
NMIPENDSET

ICSR_VECTACTIVE_Field

subtype ICSR_VECTACTIVE_Field is HAL.UInt6;

ICSR_VECTPENDING_Field

subtype ICSR_VECTPENDING_Field is HAL.UInt6;

SCB_Periph

SCB_Periph : aliased SCB_Peripheral
  with Import, Address => System'To_Address (16#E000ED00#);

SCB_Peripheral

type SCB_Peripheral is record
   CPUID : aliased CPUID_Register;
   ICSR  : aliased ICSR_Register;
   AIRCR : aliased AIRCR_Register;
   SCR   : aliased SCR_Register;
   CCR   : aliased CCR_Register;
   SHPR2 : aliased SHPR2_Register;
   SHPR3 : aliased SHPR3_Register;
end record
  with Volatile;
Record fields
CPUID
ICSR
AIRCR
SCR
CCR
SHPR2
SHPR3

SCR_Register

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
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
Reserved_0_0
SLEEPONEXIT
SLEEPDEEP
Reserved_3_3
SEVONPEND
Reserved_5_31

SHPR2_PRI_11_Field

subtype SHPR2_PRI_11_Field is HAL.UInt8;

SHPR2_Register

type SHPR2_Register is record
   Reserved_0_23 : HAL.UInt24 := 16#0#;
   PRI_11        : SHPR2_PRI_11_Field := 16#0#;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
Reserved_0_23
PRI_11

SHPR3_PRI_14_Field

subtype SHPR3_PRI_14_Field is HAL.UInt8;

SHPR3_PRI_15_Field

subtype SHPR3_PRI_15_Field is HAL.UInt8;

SHPR3_Register

type SHPR3_Register is record
   Reserved_0_15 : HAL.UInt16 := 16#0#;
   PRI_14        : SHPR3_PRI_14_Field := 16#0#;
   PRI_15        : SHPR3_PRI_15_Field := 16#0#;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
Reserved_0_15
PRI_14
PRI_15