BLE_Nano nRF51 Central heart rate
nRF51_SDK_11/components/toolchain/CMSIS/Include/core_cmFunc.h@0:2b9b5764efb5, 2016-05-26 (annotated)
- Committer:
- FranKP2138
- Date:
- Thu May 26 10:12:27 2016 +0000
- Revision:
- 0:2b9b5764efb5
RedBearLab BLE_Nano Central role for heart rate
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
FranKP2138 | 0:2b9b5764efb5 | 1 | /**************************************************************************//** |
FranKP2138 | 0:2b9b5764efb5 | 2 | * @file core_cmFunc.h |
FranKP2138 | 0:2b9b5764efb5 | 3 | * @brief CMSIS Cortex-M Core Function Access Header File |
FranKP2138 | 0:2b9b5764efb5 | 4 | * @version V4.30 |
FranKP2138 | 0:2b9b5764efb5 | 5 | * @date 20. October 2015 |
FranKP2138 | 0:2b9b5764efb5 | 6 | ******************************************************************************/ |
FranKP2138 | 0:2b9b5764efb5 | 7 | /* Copyright (c) 2009 - 2015 ARM LIMITED |
FranKP2138 | 0:2b9b5764efb5 | 8 | |
FranKP2138 | 0:2b9b5764efb5 | 9 | All rights reserved. |
FranKP2138 | 0:2b9b5764efb5 | 10 | Redistribution and use in source and binary forms, with or without |
FranKP2138 | 0:2b9b5764efb5 | 11 | modification, are permitted provided that the following conditions are met: |
FranKP2138 | 0:2b9b5764efb5 | 12 | - Redistributions of source code must retain the above copyright |
FranKP2138 | 0:2b9b5764efb5 | 13 | notice, this list of conditions and the following disclaimer. |
FranKP2138 | 0:2b9b5764efb5 | 14 | - Redistributions in binary form must reproduce the above copyright |
FranKP2138 | 0:2b9b5764efb5 | 15 | notice, this list of conditions and the following disclaimer in the |
FranKP2138 | 0:2b9b5764efb5 | 16 | documentation and/or other materials provided with the distribution. |
FranKP2138 | 0:2b9b5764efb5 | 17 | - Neither the name of ARM nor the names of its contributors may be used |
FranKP2138 | 0:2b9b5764efb5 | 18 | to endorse or promote products derived from this software without |
FranKP2138 | 0:2b9b5764efb5 | 19 | specific prior written permission. |
FranKP2138 | 0:2b9b5764efb5 | 20 | * |
FranKP2138 | 0:2b9b5764efb5 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
FranKP2138 | 0:2b9b5764efb5 | 22 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
FranKP2138 | 0:2b9b5764efb5 | 23 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
FranKP2138 | 0:2b9b5764efb5 | 24 | ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
FranKP2138 | 0:2b9b5764efb5 | 25 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
FranKP2138 | 0:2b9b5764efb5 | 26 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
FranKP2138 | 0:2b9b5764efb5 | 27 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
FranKP2138 | 0:2b9b5764efb5 | 28 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
FranKP2138 | 0:2b9b5764efb5 | 29 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
FranKP2138 | 0:2b9b5764efb5 | 30 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
FranKP2138 | 0:2b9b5764efb5 | 31 | POSSIBILITY OF SUCH DAMAGE. |
FranKP2138 | 0:2b9b5764efb5 | 32 | ---------------------------------------------------------------------------*/ |
FranKP2138 | 0:2b9b5764efb5 | 33 | |
FranKP2138 | 0:2b9b5764efb5 | 34 | |
FranKP2138 | 0:2b9b5764efb5 | 35 | #if defined ( __ICCARM__ ) |
FranKP2138 | 0:2b9b5764efb5 | 36 | #pragma system_include /* treat file as system include file for MISRA check */ |
FranKP2138 | 0:2b9b5764efb5 | 37 | #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) |
FranKP2138 | 0:2b9b5764efb5 | 38 | #pragma clang system_header /* treat file as system include file */ |
FranKP2138 | 0:2b9b5764efb5 | 39 | #endif |
FranKP2138 | 0:2b9b5764efb5 | 40 | |
FranKP2138 | 0:2b9b5764efb5 | 41 | #ifndef __CORE_CMFUNC_H |
FranKP2138 | 0:2b9b5764efb5 | 42 | #define __CORE_CMFUNC_H |
FranKP2138 | 0:2b9b5764efb5 | 43 | |
FranKP2138 | 0:2b9b5764efb5 | 44 | |
FranKP2138 | 0:2b9b5764efb5 | 45 | /* ########################### Core Function Access ########################### */ |
FranKP2138 | 0:2b9b5764efb5 | 46 | /** \ingroup CMSIS_Core_FunctionInterface |
FranKP2138 | 0:2b9b5764efb5 | 47 | \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions |
FranKP2138 | 0:2b9b5764efb5 | 48 | @{ |
FranKP2138 | 0:2b9b5764efb5 | 49 | */ |
FranKP2138 | 0:2b9b5764efb5 | 50 | |
FranKP2138 | 0:2b9b5764efb5 | 51 | /*------------------ RealView Compiler -----------------*/ |
FranKP2138 | 0:2b9b5764efb5 | 52 | #if defined ( __CC_ARM ) |
FranKP2138 | 0:2b9b5764efb5 | 53 | #include "cmsis_armcc.h" |
FranKP2138 | 0:2b9b5764efb5 | 54 | |
FranKP2138 | 0:2b9b5764efb5 | 55 | /*------------------ ARM Compiler V6 -------------------*/ |
FranKP2138 | 0:2b9b5764efb5 | 56 | #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) |
FranKP2138 | 0:2b9b5764efb5 | 57 | #include "cmsis_armcc_V6.h" |
FranKP2138 | 0:2b9b5764efb5 | 58 | |
FranKP2138 | 0:2b9b5764efb5 | 59 | /*------------------ GNU Compiler ----------------------*/ |
FranKP2138 | 0:2b9b5764efb5 | 60 | #elif defined ( __GNUC__ ) |
FranKP2138 | 0:2b9b5764efb5 | 61 | #include "cmsis_gcc.h" |
FranKP2138 | 0:2b9b5764efb5 | 62 | |
FranKP2138 | 0:2b9b5764efb5 | 63 | /*------------------ ICC Compiler ----------------------*/ |
FranKP2138 | 0:2b9b5764efb5 | 64 | #elif defined ( __ICCARM__ ) |
FranKP2138 | 0:2b9b5764efb5 | 65 | #include <cmsis_iar.h> |
FranKP2138 | 0:2b9b5764efb5 | 66 | |
FranKP2138 | 0:2b9b5764efb5 | 67 | /*------------------ TI CCS Compiler -------------------*/ |
FranKP2138 | 0:2b9b5764efb5 | 68 | #elif defined ( __TMS470__ ) |
FranKP2138 | 0:2b9b5764efb5 | 69 | #include <cmsis_ccs.h> |
FranKP2138 | 0:2b9b5764efb5 | 70 | |
FranKP2138 | 0:2b9b5764efb5 | 71 | /*------------------ TASKING Compiler ------------------*/ |
FranKP2138 | 0:2b9b5764efb5 | 72 | #elif defined ( __TASKING__ ) |
FranKP2138 | 0:2b9b5764efb5 | 73 | /* |
FranKP2138 | 0:2b9b5764efb5 | 74 | * The CMSIS functions have been implemented as intrinsics in the compiler. |
FranKP2138 | 0:2b9b5764efb5 | 75 | * Please use "carm -?i" to get an up to date list of all intrinsics, |
FranKP2138 | 0:2b9b5764efb5 | 76 | * Including the CMSIS ones. |
FranKP2138 | 0:2b9b5764efb5 | 77 | */ |
FranKP2138 | 0:2b9b5764efb5 | 78 | |
FranKP2138 | 0:2b9b5764efb5 | 79 | /*------------------ COSMIC Compiler -------------------*/ |
FranKP2138 | 0:2b9b5764efb5 | 80 | #elif defined ( __CSMC__ ) |
FranKP2138 | 0:2b9b5764efb5 | 81 | #include <cmsis_csm.h> |
FranKP2138 | 0:2b9b5764efb5 | 82 | |
FranKP2138 | 0:2b9b5764efb5 | 83 | #endif |
FranKP2138 | 0:2b9b5764efb5 | 84 | |
FranKP2138 | 0:2b9b5764efb5 | 85 | /*@} end of CMSIS_Core_RegAccFunctions */ |
FranKP2138 | 0:2b9b5764efb5 | 86 | |
FranKP2138 | 0:2b9b5764efb5 | 87 | #endif /* __CORE_CMFUNC_H */ |
FranKP2138 | 0:2b9b5764efb5 | 88 |