BLE_Nano nRF51 Central heart rate

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers core_cmFunc.h Source File

core_cmFunc.h

Go to the documentation of this file.
00001 /**************************************************************************//**
00002  * @file     core_cmFunc.h
00003  * @brief    CMSIS Cortex-M Core Function Access Header File
00004  * @version  V4.30
00005  * @date     20. October 2015
00006  ******************************************************************************/
00007 /* Copyright (c) 2009 - 2015 ARM LIMITED
00008 
00009    All rights reserved.
00010    Redistribution and use in source and binary forms, with or without
00011    modification, are permitted provided that the following conditions are met:
00012    - Redistributions of source code must retain the above copyright
00013      notice, this list of conditions and the following disclaimer.
00014    - Redistributions in binary form must reproduce the above copyright
00015      notice, this list of conditions and the following disclaimer in the
00016      documentation and/or other materials provided with the distribution.
00017    - Neither the name of ARM nor the names of its contributors may be used
00018      to endorse or promote products derived from this software without
00019      specific prior written permission.
00020    *
00021    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00022    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00023    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00024    ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
00025    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00026    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00027    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00028    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00029    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00030    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00031    POSSIBILITY OF SUCH DAMAGE.
00032    ---------------------------------------------------------------------------*/
00033 
00034 
00035 #if   defined ( __ICCARM__ )
00036  #pragma system_include         /* treat file as system include file for MISRA check */
00037 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
00038   #pragma clang system_header   /* treat file as system include file */
00039 #endif
00040 
00041 #ifndef __CORE_CMFUNC_H
00042 #define __CORE_CMFUNC_H
00043 
00044 
00045 /* ###########################  Core Function Access  ########################### */
00046 /** \ingroup  CMSIS_Core_FunctionInterface
00047     \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
00048   @{
00049 */
00050 
00051 /*------------------ RealView Compiler -----------------*/
00052 #if   defined ( __CC_ARM )
00053   #include "cmsis_armcc.h"
00054 
00055 /*------------------ ARM Compiler V6 -------------------*/
00056 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
00057   #include "cmsis_armcc_V6.h"
00058 
00059 /*------------------ GNU Compiler ----------------------*/
00060 #elif defined ( __GNUC__ )
00061   #include "cmsis_gcc.h"
00062 
00063 /*------------------ ICC Compiler ----------------------*/
00064 #elif defined ( __ICCARM__ )
00065   #include <cmsis_iar.h>
00066 
00067 /*------------------ TI CCS Compiler -------------------*/
00068 #elif defined ( __TMS470__ )
00069   #include <cmsis_ccs.h>
00070 
00071 /*------------------ TASKING Compiler ------------------*/
00072 #elif defined ( __TASKING__ )
00073   /*
00074    * The CMSIS functions have been implemented as intrinsics in the compiler.
00075    * Please use "carm -?i" to get an up to date list of all intrinsics,
00076    * Including the CMSIS ones.
00077    */
00078 
00079 /*------------------ COSMIC Compiler -------------------*/
00080 #elif defined ( __CSMC__ )
00081   #include <cmsis_csm.h>
00082 
00083 #endif
00084 
00085 /*@} end of CMSIS_Core_RegAccFunctions */
00086 
00087 #endif /* __CORE_CMFUNC_H */
00088