CMSIS-Core (Cortex-A)  
CMSIS-Core support for Cortex-A processor-based devices
 
Loading...
Searching...
No Matches
Version Control

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

Macros

#define __CA_CMSIS_VERSION_MAIN   (1U)
 [31:16] CMSIS-Core(A) main version

 
#define __CA_CMSIS_VERSION_SUB   (1U)
 [15:0] CMSIS-Core(A) sub version

 
#define __CA_CMSIS_VERSION
 CMSIS-Core(A) version number

 

Description

Macro Definition Documentation

◆ __CA_CMSIS_VERSION

#define __CA_CMSIS_VERSION

Use this define to query the full version of CMSIS-Core(A) component.

Bits Name Function
[31:16] MAIN __CA_CMSIS_VERSION_MAIN
[15:0] SUB __CA_CMSIS_VERSION_SUB

Example:

#if __CA_CMSIS_VERSION < 0x00050001
#error This code needs at least CMSIS-Core(A) version 5.1!
#endif

◆ __CA_CMSIS_VERSION_MAIN

#define __CA_CMSIS_VERSION_MAIN   (1U)

Use this define to query the major version of CMSIS-Core(A) component.

Example:

#if __CA_CMSIS_VERSION_MAIN < 5
#error This code needs at least CMSIS-Core(A) version 5!
#endif

◆ __CA_CMSIS_VERSION_SUB

#define __CA_CMSIS_VERSION_SUB   (1U)

Use this define to query the minor version of CMSIS-Core(A) component.

Example:

#if __CA_CMSIS_VERSION_MAIN < 5
#error This code needs at least CMSIS-Core(A) version 5!
#else
#if __CA_CMSIS_VERSION_SUB < 1
#warning Using CMSIS-Core(A) version 5.0 compatibility functions.
#endif
#endif