CMSIS2000
0.0.7
|
This file is used define macroses for selected arch. More...
#include "iArch_nums.h"
Go to the source code of this file.
Macros | |
#define | i_MCU_FAMILY_CHECK(test_famh) i_MCU_FAMILY_CHECK2(i_MCU_FAMILY,test_famh) |
Used for determine MCU family. | |
#define | i_MCU_FAMILY_CHECK2(current_fam, test_famh) ((CONCAT_iarch(current_fam,_MCU_FAMILY_NUM)) == CONCAT_iarch(test_famh,_MCU_FAMILY_NUM)) |
#define | i_MCU_MODEL_CHECK(test_model) i_MCU_MODEL_CHECK2(i_MCU_MODEL,test_model) |
#define | i_MCU_MODEL_CHECK2(current_fam, test_model) ((CONCAT_iarch(current_fam,_MCU_FAMILY_NUM)) == CONCAT_iarch(test_famh,_MCU_FAMILY_NUM)) |
This file is used define macroses for selected arch.
Definition in file iArch.h.
#define i_MCU_FAMILY_CHECK | ( | test_famh | ) | i_MCU_FAMILY_CHECK2(i_MCU_FAMILY,test_famh) |
Used for determine MCU family.
For example:
#define i_MCU_FAMILY_CHECK2 | ( | current_fam, | |
test_famh | |||
) | ((CONCAT_iarch(current_fam,_MCU_FAMILY_NUM)) == CONCAT_iarch(test_famh,_MCU_FAMILY_NUM)) |
#define i_MCU_MODEL_CHECK | ( | test_model | ) | i_MCU_MODEL_CHECK2(i_MCU_MODEL,test_model) |
#define i_MCU_MODEL_CHECK2 | ( | current_fam, | |
test_model | |||
) | ((CONCAT_iarch(current_fam,_MCU_FAMILY_NUM)) == CONCAT_iarch(test_famh,_MCU_FAMILY_NUM)) |