CMSIS2000
0.0.7
|
This file defines numbers of architectures and MCU families. More...
Go to the source code of this file.
Macros | |
#define | ARM7_ARCH_NUM 0x40 |
#define | ARM9_ARCH_NUM 0x50 |
#define | ARM_CORTEX_ARCH_NUM 0x60 |
#define | AVR_MEGA_ARCH_NUM (1) |
#define | CM0_ARCH_NUM 0x42 |
#define | CM1_ARCH_NUM 0x41 |
#define | CM3_ARCH_NUM 0x43 |
#define | CONCAT_iarch(A, B) A##B |
#define | GLIB_ARCH_NUM (-1) |
#define | i_ARCH_CHECK(test_arch) i_ARCH_CHECK2(i_ARCH,test_arch) |
Used for determine MCU core type. | |
#define | i_ARCH_CHECK2(current_arch, test_arch) ((CONCAT_iarch(current_arch,_ARCH_NUM)) == (CONCAT_iarch(test_arch,_ARCH_NUM))) |
#define | POSIX_GENERIC_ARCH_NUM 2 |
#define | WIN_NT_ARCH_NUM 3 |
This file defines numbers of architectures and MCU families.
File is used define macroses for filtering sources for selected arch and family
Definition in file iArch_nums.h.
#define ARM7_ARCH_NUM 0x40 |
Definition at line 53 of file iArch_nums.h.
#define ARM9_ARCH_NUM 0x50 |
Definition at line 57 of file iArch_nums.h.
#define ARM_CORTEX_ARCH_NUM 0x60 |
Definition at line 58 of file iArch_nums.h.
#define AVR_MEGA_ARCH_NUM (1) |
Definition at line 48 of file iArch_nums.h.
#define CM0_ARCH_NUM 0x42 |
Definition at line 54 of file iArch_nums.h.
#define CM1_ARCH_NUM 0x41 |
Definition at line 55 of file iArch_nums.h.
#define CM3_ARCH_NUM 0x43 |
Definition at line 56 of file iArch_nums.h.
#define CONCAT_iarch | ( | A, | |
B | |||
) | A##B |
Definition at line 60 of file iArch_nums.h.
#define GLIB_ARCH_NUM (-1) |
Definition at line 47 of file iArch_nums.h.
#define i_ARCH_CHECK | ( | test_arch | ) | i_ARCH_CHECK2(i_ARCH,test_arch) |
Used for determine MCU core type.
For example:
Definition at line 83 of file iArch_nums.h.
#define i_ARCH_CHECK2 | ( | current_arch, | |
test_arch | |||
) | ((CONCAT_iarch(current_arch,_ARCH_NUM)) == (CONCAT_iarch(test_arch,_ARCH_NUM))) |
Definition at line 62 of file iArch_nums.h.
#define POSIX_GENERIC_ARCH_NUM 2 |
Definition at line 50 of file iArch_nums.h.
#define WIN_NT_ARCH_NUM 3 |
Definition at line 51 of file iArch_nums.h.