Version #define symbols for CMSIS release specific C/C++ source code. More...
Macros | |
#define | __CA_CMSIS_VERSION |
Contains the CMSIS version. | |
#define | __CA_CMSIS_VERSION_MAIN |
Contains the CMSIS major version. | |
#define | __CA_CMSIS_VERSION_SUB |
Contains the CMSIS minor version. | |
#define | __CA_REV 0x0000 |
Contains the core revision for a Cortex-A class device. | |
#define | __CORTEX_A 0x0000 |
Contains the core family for a Cortex-A class device. | |
Version #define symbols for CMSIS release specific C/C++ source code.
#define __CA_CMSIS_VERSION |
Contains the CMSIS version.
The CMSIS version is a combination of the __CA_CMSIS_VERSION_MAIN (bits 31..16) and __CA_CMSIS_VERSION_SUB (bits 15..0).
Code Example:
#define __CA_CMSIS_VERSION_MAIN |
Contains the CMSIS major version.
The CMSIS major version can be used to differentiate between CMSIS major releases.
#define __CA_CMSIS_VERSION_SUB |
Contains the CMSIS minor version.
The CMSIS minor version can be used to query a CMSIS release update level.
#define __CA_REV 0x0000 |
Contains the core revision for a Cortex-A class device.
Use this define to query the core design revision number implemented in the selected device.
Bits | Name | Function |
---|---|---|
[15:8] | REV | Revision number |
[7:0] | PATCH | Patch number |
Example:
#define __CORTEX_A 0x0000 |
Contains the core family for a Cortex-A class device.
Use this define to query the actual Cortex-A class device number implemented in the selected device.
Example: