CMSIS-Core (Cortex-M)
Version 5.5.0
CMSIS-Core support for Cortex-M processor-based devices
|
Version #define symbols for CMSIS release specific C/C++ source code. More...
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... | |
Version #define symbols for CMSIS release specific C/C++ source code.
The header file cmsis_version.h is included by each core header so that these definitions are available.
Code Example:
Deprecated
The following macros are deprecated:
#define __CM_CMSIS_VERSION |
Contains the 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 |
Contains the CMSIS major version.
The CMSIS major version can be used to differentiate between CMSIS major releases.
#define __CM_CMSIS_VERSION_SUB |
Contains the CMSIS minor version.
The CMSIS minor version can be used to query a CMSIS release update level.
#define __CORTEX_M |
Contains the core version for a Cortex-M class controller.
This define can be used to differentiate between the various available Cortex-M controllers. Possible values are:
This define is only available for Cortex-M class controllers. Code Example:
#define __CORTEX_SC |
Contains the core version for a Cortex Secure Core controller.
This define can be used to differentiate between the various available Cortex Secure Core controllers. Possible values are:
This define is only available for Cortex Secure Core controllers. Code Example: