]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/driverlib/inc/CMSIS/core_cmInstr.h
commit 9f316c246baafa15c542a5aea81a94f26e3d6507
[freertos] / FreeRTOS / Demo / CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil / driverlib / inc / CMSIS / core_cmInstr.h
1 /**************************************************************************//**\r
2  * @file     core_cmInstr.h\r
3  * @brief    CMSIS Cortex-M Core Instruction Access Header File\r
4  * @version  V4.20\r
5  * @date     02. July 2015\r
6  ******************************************************************************/\r
7 /* Copyright (c) 2009 - 2015 ARM LIMITED\r
8 \r
9    All rights reserved.\r
10    Redistribution and use in source and binary forms, with or without\r
11    modification, are permitted provided that the following conditions are met:\r
12    - Redistributions of source code must retain the above copyright\r
13      notice, this list of conditions and the following disclaimer.\r
14    - Redistributions in binary form must reproduce the above copyright\r
15      notice, this list of conditions and the following disclaimer in the\r
16      documentation and/or other materials provided with the distribution.\r
17    - Neither the name of ARM nor the names of its contributors may be used\r
18      to endorse or promote products derived from this software without\r
19      specific prior written permission.\r
20    *\r
21    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
22    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
23    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
24    ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE\r
25    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r
26    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r
27    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
28    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r
29    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r
30    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
31    POSSIBILITY OF SUCH DAMAGE.\r
32    ---------------------------------------------------------------------------*/\r
33 \r
34 \r
35 #if   defined ( __ICCARM__ )\r
36  #pragma system_include         /* treat file as system include file for MISRA check */\r
37 #elif (__ARMCC_VERSION >= 6010050)\r
38   #pragma clang system_header   /* treat file as system include file */\r
39 #endif\r
40 \r
41 #ifndef __CORE_CMINSTR_H\r
42 #define __CORE_CMINSTR_H\r
43 \r
44 \r
45 /* ##########################  Core Instruction Access  ######################### */\r
46 /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface\r
47   Access to dedicated instructions\r
48   @{\r
49 */\r
50 \r
51 #if   defined ( __CC_ARM )         /*------------------ RealView Compiler -----------------*/\r
52   #include <cmsis_armcc.h>\r
53 \r
54 #elif (__ARMCC_VERSION >= 6010050) /*------------------ ARM Compiler V6 -------------------*/\r
55   #include <cmsis_armcc_V6.h>\r
56 \r
57 #elif defined ( __GNUC__ )         /*------------------ GNU Compiler ----------------------*/\r
58   #include <cmsis_gcc.h>\r
59 \r
60 #elif defined ( __ICCARM__ )       /*------------------ ICC Compiler ----------------------*/\r
61   #include <cmsis_iar.h>\r
62 \r
63 #elif defined ( __TMS470__ )       /*------------------ TI CCS Compiler -------------------*/\r
64   #include <cmsis_ccs.h>\r
65 \r
66 #elif defined ( __TASKING__ )      /*------------------ TASKING Compiler ------------------*/\r
67     /*\r
68      * The CMSIS functions have been implemented as intrinsics in the compiler.\r
69      * Please use "carm -?i" to get an up to date list of all intrinsics,\r
70      * Including the CMSIS ones.\r
71    */\r
72 \r
73 #elif defined ( __CSMC__ )         /*------------------ COSMIC Compiler -------------------*/\r
74   #include <cmsis_csm.h>\r
75 \r
76 #endif\r
77 \r
78 /*@}*/ /* end of group CMSIS_Core_InstructionInterface */\r
79 \r
80 #endif /* __CORE_CMINSTR_H */\r