Cortex_M_SVD.SysTick

Entities

Simple Types

Record Types

Subtypes

Variables

Description

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

CALIB_NOREF_Field

type CALIB_NOREF_Field is
  (
   Ref_Clk_Available,
   Ref_Clk_Unavailable)
  with Size => 1;
Enumeration Literal
Ref_Clk_Available

Ref Clk not available

Ref_Clk_Unavailable

CALIB_SKEW_Field

type CALIB_SKEW_Field is
  (
   Exact,
   Inexact)
  with Size => 1;
Enumeration Literal
Exact

10ms calibration value is inexact, because of the clock frequency

Inexact

CSR_CLKSOURCE_Field

type CSR_CLKSOURCE_Field is
  (
   External_Clk,
   Cpu_Clk)
  with Size => 1;
Enumeration Literal
External_Clk

CPU Clock

Cpu_Clk

CSR_ENABLE_Field

type CSR_ENABLE_Field is
  (
   Disable,
   Enable)
  with Size => 1;
Enumeration Literal
Disable

counter enabled

Enable

CSR_TICKINT_Field

type CSR_TICKINT_Field is
   Disable,
   Enable)
  with Size => 1;
Enumeration Literal
Disable

Counting down to zero does not assert the SysTick exception request

Enable

SYST_CALIB_Register

type SYST_CALIB_Register is record
   TENMS          : SYST_CALIB_TENMS_Field;
   Reserved_24_29 : HAL.UInt6;
   SKEW           : CALIB_SKEW_Field;
   NOREF          : CALIB_NOREF_Field;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
TENMS
Reserved_24_29
SKEW
NOREF

SYST_CALIB_TENMS_Field

subtype SYST_CALIB_TENMS_Field is HAL.UInt24;

SYST_CSR_Register

type SYST_CSR_Register is record
   ENABLE         : CSR_ENABLE_Field := Cortex_M_SVD.SysTick.Disable;
   TICKINT        : CSR_TICKINT_Field := Cortex_M_SVD.SysTick.Disable;
   CLKSOURCE      : CSR_CLKSOURCE_Field :=
                     Cortex_M_SVD.SysTick.External_Clk;
   Reserved_3_15  : HAL.UInt13 := 16#0#;
   COUNTFLAG      : Boolean := False;
   Reserved_17_31 : HAL.UInt15 := 16#0#;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
ENABLE
TICKINT
CLKSOURCE
Reserved_3_15
COUNTFLAG
Reserved_17_31

SYST_CVR_CURRENT_Field

subtype SYST_CVR_CURRENT_Field is HAL.UInt24;

SYST_CVR_Register

type SYST_CVR_Register is record
   CURRENT        : SYST_CVR_CURRENT_Field := 16#0#;
   Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
CURRENT
Reserved_24_31

SYST_RVR_Register

type SYST_RVR_Register is record
   RELOAD         : SYST_RVR_RELOAD_Field := 16#0#;
   Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
  with Volatile_Full_Access, Size => 32,
       Bit_Order => System.Low_Order_First;
Record fields
RELOAD
Reserved_24_31

SYST_RVR_RELOAD_Field

subtype SYST_RVR_RELOAD_Field is HAL.UInt24;

SysTick_Periph

SysTick_Periph : aliased SysTick_Peripheral
  with Import, Address => SysTick_Base;

SysTick_Peripheral

type SysTick_Peripheral is record
   CSR   : aliased SYST_CSR_Register;
   RVR   : aliased SYST_RVR_Register;
   CVR   : aliased SYST_CVR_Register;
   CALIB : aliased SYST_CALIB_Register;
end record
  with Volatile;
Record fields
CSR
RVR
CVR
CALIB