From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/Core/html/group__version__control__gr.html | 258 ++++++++++++++++++++++++ 1 file changed, 258 insertions(+) create mode 100644 docs/Core/html/group__version__control__gr.html (limited to 'docs/Core/html/group__version__control__gr.html') diff --git a/docs/Core/html/group__version__control__gr.html b/docs/Core/html/group__version__control__gr.html new file mode 100644 index 0000000..3ac128f --- /dev/null +++ b/docs/Core/html/group__version__control__gr.html @@ -0,0 +1,258 @@ + + + + + +Version Control +CMSIS-Core (Cortex-M): Version Control + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-Core (Cortex-M) +  Version 5.1.2 +
+
CMSIS-Core support for Cortex-M processor-based devices
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Version Control
+
+
+ +

Version #define symbols for CMSIS release specific C/C++ source code. +More...

+ + + + + +

+Content

 Version Control per Core (Depricated)
 Version #define symbols for CMSIS release specific C/C++ source code.
 
+ + + + + + + + + + + + + + + + +

+Macros

#define __CM_CMSIS_VERSION_MAIN
 Contains the CMSIS major version. More...
 
#define __CM_CMSIS_VERSION_SUB
 Contains the CMSIS minor version. More...
 
#define __CM_CMSIS_VERSION
 Contains the CMSIS version. More...
 
#define __CORTEX_M
 Contains the core version for a Cortex-M class controller. More...
 
#define __CORTEX_SC
 Contains the core version for a Cortex Secure Core controller. More...
 
+

Description

+

The header file cmsis_version.h is included by each core header so that these definitions are available.

+

Code Example:

+
#if defined(__CM_CMSIS_VERSION) && \
+
(__CM_CMSIS_VERSION >= 0x00050001)
+
#error Yes, we have CMSIS 5.1 or later
+
#else
+
#error We need CMSIS 5.1 or later!
+
#endif
+

Macro Definition Documentation

+ +
+
+ + + + +
#define __CM_CMSIS_VERSION
+
+

The CMSIS version is a combination of the __CM_CMSIS_VERSION_MAIN (bits 31..15) and __CM_CMSIS_VERSION_SUB (bits 14..0).

+ +
+
+ +
+
+ + + + +
#define __CM_CMSIS_VERSION_MAIN
+
+

The CMSIS major version can be used to differentiate between CMSIS major releases.

+ +
+
+ +
+
+ + + + +
#define __CM_CMSIS_VERSION_SUB
+
+

The CMSIS minor version can be used to query a CMSIS release update level.

+ +
+
+ +
+
+ + + + +
#define __CORTEX_M
+
+

This define can be used to differentiate between the various available Cortex-M controllers. Possible values are:

+
    +
  • 0 for a Cortex-M0 or Cortex-M0+
  • +
  • 3 for a Cortex-M3
  • +
  • 4 for a Cortex-M4
  • +
  • 7 for a Cortex-M7
  • +
  • 23 for a Cortex-M23
  • +
  • 33 for a Cortex-M33
  • +
+

This define is only available for Cortex-M class controllers. Code Example:

+
#if defined(__CORTEX_M) && (__CORTEX_M == 4)
+
#error Yes, we have an Cortex-M4 controller.
+
#else
+
#error We need a Cortex-M4 controller!
+
#endif
+
+
+
+ +
+
+ + + + +
#define __CORTEX_SC
+
+

This define can be used to differentiate between the various available Cortex Secure Core controllers. Possible values are:

+
    +
  • 000 for a Cortex-SC000
  • +
  • 300 for a Cortex-SC300
  • +
+

This define is only available for Cortex Secure Core controllers. Code Example:

+
#if defined(__CORTEX_SC) && (__CORTEX_SC == 300U)
+
#error Yes, we have an Cortex SC300 controller.
+
#else
+
#error We need a Cortex SC300 controller!
+
#endif
+
+
+
+
+
+ + + + -- cgit