CMSIS-Core (Cortex-M)
Version 5.1.1
CMSIS-Core support for Cortex-M processor-based devices
|
Version #define symbols for CMSIS release specific C/C++ source code. More...
Macros | |
#define | __XXX_CMSIS_VERSION_MAIN |
Contains the CMSIS major version for core of type XXX, i.e. CM0 or SC300. More... | |
#define | __XXX_CMSIS_VERSION_SUB |
Contains the CMSIS minor version for core of type XXX, i.e. CM0 or SC300. More... | |
#define | __XXX_CMSIS_VERSION |
Contains the CMSIS version for core of type XXX, i.e. CM0 or SC300. More... | |
Prior CMSIS release 5.1.0 the version information was core specific.
Code Example:
#define __XXX_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 __XXX_CMSIS_VERSION_MAIN |
The CMSIS major version can be used to differentiate between CMSIS major releases.
#define __XXX_CMSIS_VERSION_SUB |
The CMSIS minor version can be used to query a CMSIS release update level.