The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_LPC11U37H_401/core_ca9.h@115:87f2f5183dfb, 2016-03-02 (annotated)
- Committer:
- Kojto
- Date:
- Wed Mar 02 09:58:28 2016 +0100
- Revision:
- 115:87f2f5183dfb
- Parent:
- 93:e188a91d3eaa
Release 115 of the mbed library
Changes:
- new targets - NUCLEO_F746ZG
- Bugfix - STM32F7 + STM32L4 - RTC init fix
- Bugfix - STM32L4 Set NVIC_RAM_VECTOR_ADDRESS to 0x10000000
- B96B_F446VE - CAN addition
- Changed target name from NZ32SC151 to NZ32_SC151
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 93:e188a91d3eaa | 1 | /**************************************************************************//** |
Kojto | 93:e188a91d3eaa | 2 | * @file core_ca9.h |
Kojto | 93:e188a91d3eaa | 3 | * @brief CMSIS Cortex-A9 Core Peripheral Access Layer Header File |
Kojto | 93:e188a91d3eaa | 4 | * @version |
Kojto | 93:e188a91d3eaa | 5 | * @date 25 March 2013 |
Kojto | 93:e188a91d3eaa | 6 | * |
Kojto | 93:e188a91d3eaa | 7 | * @note |
Kojto | 93:e188a91d3eaa | 8 | * |
Kojto | 93:e188a91d3eaa | 9 | ******************************************************************************/ |
Kojto | 93:e188a91d3eaa | 10 | /* Copyright (c) 2009 - 2012 ARM LIMITED |
Kojto | 93:e188a91d3eaa | 11 | |
Kojto | 93:e188a91d3eaa | 12 | All rights reserved. |
Kojto | 93:e188a91d3eaa | 13 | Redistribution and use in source and binary forms, with or without |
Kojto | 93:e188a91d3eaa | 14 | modification, are permitted provided that the following conditions are met: |
Kojto | 93:e188a91d3eaa | 15 | - Redistributions of source code must retain the above copyright |
Kojto | 93:e188a91d3eaa | 16 | notice, this list of conditions and the following disclaimer. |
Kojto | 93:e188a91d3eaa | 17 | - Redistributions in binary form must reproduce the above copyright |
Kojto | 93:e188a91d3eaa | 18 | notice, this list of conditions and the following disclaimer in the |
Kojto | 93:e188a91d3eaa | 19 | documentation and/or other materials provided with the distribution. |
Kojto | 93:e188a91d3eaa | 20 | - Neither the name of ARM nor the names of its contributors may be used |
Kojto | 93:e188a91d3eaa | 21 | to endorse or promote products derived from this software without |
Kojto | 93:e188a91d3eaa | 22 | specific prior written permission. |
Kojto | 93:e188a91d3eaa | 23 | * |
Kojto | 93:e188a91d3eaa | 24 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
Kojto | 93:e188a91d3eaa | 25 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
Kojto | 93:e188a91d3eaa | 26 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
Kojto | 93:e188a91d3eaa | 27 | ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
Kojto | 93:e188a91d3eaa | 28 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
Kojto | 93:e188a91d3eaa | 29 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
Kojto | 93:e188a91d3eaa | 30 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
Kojto | 93:e188a91d3eaa | 31 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
Kojto | 93:e188a91d3eaa | 32 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
Kojto | 93:e188a91d3eaa | 33 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
Kojto | 93:e188a91d3eaa | 34 | POSSIBILITY OF SUCH DAMAGE. |
Kojto | 93:e188a91d3eaa | 35 | ---------------------------------------------------------------------------*/ |
Kojto | 93:e188a91d3eaa | 36 | |
Kojto | 93:e188a91d3eaa | 37 | |
Kojto | 93:e188a91d3eaa | 38 | #if defined ( __ICCARM__ ) |
Kojto | 93:e188a91d3eaa | 39 | #pragma system_include /* treat file as system include file for MISRA check */ |
Kojto | 93:e188a91d3eaa | 40 | #endif |
Kojto | 93:e188a91d3eaa | 41 | |
Kojto | 93:e188a91d3eaa | 42 | #ifdef __cplusplus |
Kojto | 93:e188a91d3eaa | 43 | extern "C" { |
Kojto | 93:e188a91d3eaa | 44 | #endif |
Kojto | 93:e188a91d3eaa | 45 | |
Kojto | 93:e188a91d3eaa | 46 | #ifndef __CORE_CA9_H_GENERIC |
Kojto | 93:e188a91d3eaa | 47 | #define __CORE_CA9_H_GENERIC |
Kojto | 93:e188a91d3eaa | 48 | |
Kojto | 93:e188a91d3eaa | 49 | |
Kojto | 93:e188a91d3eaa | 50 | /** \page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions |
Kojto | 93:e188a91d3eaa | 51 | CMSIS violates the following MISRA-C:2004 rules: |
Kojto | 93:e188a91d3eaa | 52 | |
Kojto | 93:e188a91d3eaa | 53 | \li Required Rule 8.5, object/function definition in header file.<br> |
Kojto | 93:e188a91d3eaa | 54 | Function definitions in header files are used to allow 'inlining'. |
Kojto | 93:e188a91d3eaa | 55 | |
Kojto | 93:e188a91d3eaa | 56 | \li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br> |
Kojto | 93:e188a91d3eaa | 57 | Unions are used for effective representation of core registers. |
Kojto | 93:e188a91d3eaa | 58 | |
Kojto | 93:e188a91d3eaa | 59 | \li Advisory Rule 19.7, Function-like macro defined.<br> |
Kojto | 93:e188a91d3eaa | 60 | Function-like macros are used to allow more efficient code. |
Kojto | 93:e188a91d3eaa | 61 | */ |
Kojto | 93:e188a91d3eaa | 62 | |
Kojto | 93:e188a91d3eaa | 63 | |
Kojto | 93:e188a91d3eaa | 64 | /******************************************************************************* |
Kojto | 93:e188a91d3eaa | 65 | * CMSIS definitions |
Kojto | 93:e188a91d3eaa | 66 | ******************************************************************************/ |
Kojto | 93:e188a91d3eaa | 67 | /** \ingroup Cortex_A9 |
Kojto | 93:e188a91d3eaa | 68 | @{ |
Kojto | 93:e188a91d3eaa | 69 | */ |
Kojto | 93:e188a91d3eaa | 70 | |
Kojto | 93:e188a91d3eaa | 71 | /* CMSIS CA9 definitions */ |
Kojto | 93:e188a91d3eaa | 72 | #define __CA9_CMSIS_VERSION_MAIN (0x03) /*!< [31:16] CMSIS HAL main version */ |
Kojto | 93:e188a91d3eaa | 73 | #define __CA9_CMSIS_VERSION_SUB (0x10) /*!< [15:0] CMSIS HAL sub version */ |
Kojto | 93:e188a91d3eaa | 74 | #define __CA9_CMSIS_VERSION ((__CA9_CMSIS_VERSION_MAIN << 16) | \ |
Kojto | 93:e188a91d3eaa | 75 | __CA9_CMSIS_VERSION_SUB ) /*!< CMSIS HAL version number */ |
Kojto | 93:e188a91d3eaa | 76 | |
Kojto | 93:e188a91d3eaa | 77 | #define __CORTEX_A (0x09) /*!< Cortex-A Core */ |
Kojto | 93:e188a91d3eaa | 78 | |
Kojto | 93:e188a91d3eaa | 79 | |
Kojto | 93:e188a91d3eaa | 80 | #if defined ( __CC_ARM ) |
Kojto | 93:e188a91d3eaa | 81 | #define __ASM __asm /*!< asm keyword for ARM Compiler */ |
Kojto | 93:e188a91d3eaa | 82 | #define __INLINE __inline /*!< inline keyword for ARM Compiler */ |
Kojto | 93:e188a91d3eaa | 83 | #define __STATIC_INLINE static __inline |
Kojto | 93:e188a91d3eaa | 84 | #define __STATIC_ASM static __asm |
Kojto | 93:e188a91d3eaa | 85 | |
Kojto | 93:e188a91d3eaa | 86 | #elif defined ( __ICCARM__ ) |
Kojto | 93:e188a91d3eaa | 87 | #define __ASM __asm /*!< asm keyword for IAR Compiler */ |
Kojto | 93:e188a91d3eaa | 88 | #define __INLINE inline /*!< inline keyword for IAR Compiler. Only available in High optimization mode! */ |
Kojto | 93:e188a91d3eaa | 89 | #define __STATIC_INLINE static inline |
Kojto | 93:e188a91d3eaa | 90 | #define __STATIC_ASM static __asm |
Kojto | 93:e188a91d3eaa | 91 | |
Kojto | 115:87f2f5183dfb | 92 | #include <stdint.h> |
Kojto | 115:87f2f5183dfb | 93 | inline uint32_t __get_PSR(void) { |
Kojto | 115:87f2f5183dfb | 94 | __ASM("mrs r0, cpsr"); |
Kojto | 115:87f2f5183dfb | 95 | } |
Kojto | 115:87f2f5183dfb | 96 | |
Kojto | 93:e188a91d3eaa | 97 | #elif defined ( __TMS470__ ) |
Kojto | 93:e188a91d3eaa | 98 | #define __ASM __asm /*!< asm keyword for TI CCS Compiler */ |
Kojto | 93:e188a91d3eaa | 99 | #define __STATIC_INLINE static inline |
Kojto | 93:e188a91d3eaa | 100 | #define __STATIC_ASM static __asm |
Kojto | 93:e188a91d3eaa | 101 | |
Kojto | 93:e188a91d3eaa | 102 | #elif defined ( __GNUC__ ) |
Kojto | 93:e188a91d3eaa | 103 | #define __ASM __asm /*!< asm keyword for GNU Compiler */ |
Kojto | 93:e188a91d3eaa | 104 | #define __INLINE inline /*!< inline keyword for GNU Compiler */ |
Kojto | 93:e188a91d3eaa | 105 | #define __STATIC_INLINE static inline |
Kojto | 93:e188a91d3eaa | 106 | #define __STATIC_ASM static __asm |
Kojto | 93:e188a91d3eaa | 107 | |
Kojto | 93:e188a91d3eaa | 108 | #elif defined ( __TASKING__ ) |
Kojto | 93:e188a91d3eaa | 109 | #define __ASM __asm /*!< asm keyword for TASKING Compiler */ |
Kojto | 93:e188a91d3eaa | 110 | #define __INLINE inline /*!< inline keyword for TASKING Compiler */ |
Kojto | 93:e188a91d3eaa | 111 | #define __STATIC_INLINE static inline |
Kojto | 93:e188a91d3eaa | 112 | #define __STATIC_ASM static __asm |
Kojto | 93:e188a91d3eaa | 113 | |
Kojto | 93:e188a91d3eaa | 114 | #endif |
Kojto | 93:e188a91d3eaa | 115 | |
Kojto | 93:e188a91d3eaa | 116 | /** __FPU_USED indicates whether an FPU is used or not. For this, __FPU_PRESENT has to be checked prior to making use of FPU specific registers and functions. |
Kojto | 93:e188a91d3eaa | 117 | */ |
Kojto | 93:e188a91d3eaa | 118 | #if defined ( __CC_ARM ) |
Kojto | 93:e188a91d3eaa | 119 | #if defined __TARGET_FPU_VFP |
Kojto | 93:e188a91d3eaa | 120 | #if (__FPU_PRESENT == 1) |
Kojto | 93:e188a91d3eaa | 121 | #define __FPU_USED 1 |
Kojto | 93:e188a91d3eaa | 122 | #else |
Kojto | 93:e188a91d3eaa | 123 | #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" |
Kojto | 93:e188a91d3eaa | 124 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 125 | #endif |
Kojto | 93:e188a91d3eaa | 126 | #else |
Kojto | 93:e188a91d3eaa | 127 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 128 | #endif |
Kojto | 93:e188a91d3eaa | 129 | |
Kojto | 93:e188a91d3eaa | 130 | #elif defined ( __ICCARM__ ) |
Kojto | 93:e188a91d3eaa | 131 | #if defined __ARMVFP__ |
Kojto | 93:e188a91d3eaa | 132 | #if (__FPU_PRESENT == 1) |
Kojto | 93:e188a91d3eaa | 133 | #define __FPU_USED 1 |
Kojto | 93:e188a91d3eaa | 134 | #else |
Kojto | 93:e188a91d3eaa | 135 | #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" |
Kojto | 93:e188a91d3eaa | 136 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 137 | #endif |
Kojto | 93:e188a91d3eaa | 138 | #else |
Kojto | 93:e188a91d3eaa | 139 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 140 | #endif |
Kojto | 93:e188a91d3eaa | 141 | |
Kojto | 93:e188a91d3eaa | 142 | #elif defined ( __TMS470__ ) |
Kojto | 93:e188a91d3eaa | 143 | #if defined __TI_VFP_SUPPORT__ |
Kojto | 93:e188a91d3eaa | 144 | #if (__FPU_PRESENT == 1) |
Kojto | 93:e188a91d3eaa | 145 | #define __FPU_USED 1 |
Kojto | 93:e188a91d3eaa | 146 | #else |
Kojto | 93:e188a91d3eaa | 147 | #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" |
Kojto | 93:e188a91d3eaa | 148 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 149 | #endif |
Kojto | 93:e188a91d3eaa | 150 | #else |
Kojto | 93:e188a91d3eaa | 151 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 152 | #endif |
Kojto | 93:e188a91d3eaa | 153 | |
Kojto | 93:e188a91d3eaa | 154 | #elif defined ( __GNUC__ ) |
Kojto | 93:e188a91d3eaa | 155 | #if defined (__VFP_FP__) && !defined(__SOFTFP__) |
Kojto | 93:e188a91d3eaa | 156 | #if (__FPU_PRESENT == 1) |
Kojto | 93:e188a91d3eaa | 157 | #define __FPU_USED 1 |
Kojto | 93:e188a91d3eaa | 158 | #else |
Kojto | 93:e188a91d3eaa | 159 | #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" |
Kojto | 93:e188a91d3eaa | 160 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 161 | #endif |
Kojto | 93:e188a91d3eaa | 162 | #else |
Kojto | 93:e188a91d3eaa | 163 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 164 | #endif |
Kojto | 93:e188a91d3eaa | 165 | |
Kojto | 93:e188a91d3eaa | 166 | #elif defined ( __TASKING__ ) |
Kojto | 93:e188a91d3eaa | 167 | #if defined __FPU_VFP__ |
Kojto | 93:e188a91d3eaa | 168 | #if (__FPU_PRESENT == 1) |
Kojto | 93:e188a91d3eaa | 169 | #define __FPU_USED 1 |
Kojto | 93:e188a91d3eaa | 170 | #else |
Kojto | 93:e188a91d3eaa | 171 | #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" |
Kojto | 93:e188a91d3eaa | 172 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 173 | #endif |
Kojto | 93:e188a91d3eaa | 174 | #else |
Kojto | 93:e188a91d3eaa | 175 | #define __FPU_USED 0 |
Kojto | 93:e188a91d3eaa | 176 | #endif |
Kojto | 93:e188a91d3eaa | 177 | #endif |
Kojto | 93:e188a91d3eaa | 178 | |
Kojto | 93:e188a91d3eaa | 179 | #include <stdint.h> /*!< standard types definitions */ |
Kojto | 93:e188a91d3eaa | 180 | #include "core_caInstr.h" /*!< Core Instruction Access */ |
Kojto | 93:e188a91d3eaa | 181 | #include "core_caFunc.h" /*!< Core Function Access */ |
Kojto | 93:e188a91d3eaa | 182 | #include "core_cm4_simd.h" /*!< Compiler specific SIMD Intrinsics */ |
Kojto | 93:e188a91d3eaa | 183 | |
Kojto | 93:e188a91d3eaa | 184 | #endif /* __CORE_CA9_H_GENERIC */ |
Kojto | 93:e188a91d3eaa | 185 | |
Kojto | 93:e188a91d3eaa | 186 | #ifndef __CMSIS_GENERIC |
Kojto | 93:e188a91d3eaa | 187 | |
Kojto | 93:e188a91d3eaa | 188 | #ifndef __CORE_CA9_H_DEPENDANT |
Kojto | 93:e188a91d3eaa | 189 | #define __CORE_CA9_H_DEPENDANT |
Kojto | 93:e188a91d3eaa | 190 | |
Kojto | 93:e188a91d3eaa | 191 | /* check device defines and use defaults */ |
Kojto | 93:e188a91d3eaa | 192 | #if defined __CHECK_DEVICE_DEFINES |
Kojto | 93:e188a91d3eaa | 193 | #ifndef __CA9_REV |
Kojto | 93:e188a91d3eaa | 194 | #define __CA9_REV 0x0000 |
Kojto | 93:e188a91d3eaa | 195 | #warning "__CA9_REV not defined in device header file; using default!" |
Kojto | 93:e188a91d3eaa | 196 | #endif |
Kojto | 93:e188a91d3eaa | 197 | |
Kojto | 93:e188a91d3eaa | 198 | #ifndef __FPU_PRESENT |
Kojto | 93:e188a91d3eaa | 199 | #define __FPU_PRESENT 1 |
Kojto | 93:e188a91d3eaa | 200 | #warning "__FPU_PRESENT not defined in device header file; using default!" |
Kojto | 93:e188a91d3eaa | 201 | #endif |
Kojto | 93:e188a91d3eaa | 202 | |
Kojto | 93:e188a91d3eaa | 203 | #ifndef __Vendor_SysTickConfig |
Kojto | 93:e188a91d3eaa | 204 | #define __Vendor_SysTickConfig 1 |
Kojto | 93:e188a91d3eaa | 205 | #endif |
Kojto | 93:e188a91d3eaa | 206 | |
Kojto | 93:e188a91d3eaa | 207 | #if __Vendor_SysTickConfig == 0 |
Kojto | 93:e188a91d3eaa | 208 | #error "__Vendor_SysTickConfig set to 0, but vendor systick timer must be supplied for Cortex-A9" |
Kojto | 93:e188a91d3eaa | 209 | #endif |
Kojto | 93:e188a91d3eaa | 210 | #endif |
Kojto | 93:e188a91d3eaa | 211 | |
Kojto | 93:e188a91d3eaa | 212 | /* IO definitions (access restrictions to peripheral registers) */ |
Kojto | 93:e188a91d3eaa | 213 | /** |
Kojto | 93:e188a91d3eaa | 214 | \defgroup CMSIS_glob_defs CMSIS Global Defines |
Kojto | 93:e188a91d3eaa | 215 | |
Kojto | 93:e188a91d3eaa | 216 | <strong>IO Type Qualifiers</strong> are used |
Kojto | 93:e188a91d3eaa | 217 | \li to specify the access to peripheral variables. |
Kojto | 93:e188a91d3eaa | 218 | \li for automatic generation of peripheral register debug information. |
Kojto | 93:e188a91d3eaa | 219 | */ |
Kojto | 93:e188a91d3eaa | 220 | #ifdef __cplusplus |
Kojto | 93:e188a91d3eaa | 221 | #define __I volatile /*!< Defines 'read only' permissions */ |
Kojto | 93:e188a91d3eaa | 222 | #else |
Kojto | 93:e188a91d3eaa | 223 | #define __I volatile const /*!< Defines 'read only' permissions */ |
Kojto | 93:e188a91d3eaa | 224 | #endif |
Kojto | 93:e188a91d3eaa | 225 | #define __O volatile /*!< Defines 'write only' permissions */ |
Kojto | 93:e188a91d3eaa | 226 | #define __IO volatile /*!< Defines 'read / write' permissions */ |
Kojto | 93:e188a91d3eaa | 227 | |
Kojto | 93:e188a91d3eaa | 228 | /*@} end of group Cortex_A9 */ |
Kojto | 93:e188a91d3eaa | 229 | |
Kojto | 93:e188a91d3eaa | 230 | |
Kojto | 93:e188a91d3eaa | 231 | /******************************************************************************* |
Kojto | 93:e188a91d3eaa | 232 | * Register Abstraction |
Kojto | 93:e188a91d3eaa | 233 | ******************************************************************************/ |
Kojto | 93:e188a91d3eaa | 234 | /** \defgroup CMSIS_core_register Defines and Type Definitions |
Kojto | 93:e188a91d3eaa | 235 | \brief Type definitions and defines for Cortex-A processor based devices. |
Kojto | 93:e188a91d3eaa | 236 | */ |
Kojto | 93:e188a91d3eaa | 237 | |
Kojto | 93:e188a91d3eaa | 238 | /** \ingroup CMSIS_core_register |
Kojto | 93:e188a91d3eaa | 239 | \defgroup CMSIS_CORE Status and Control Registers |
Kojto | 93:e188a91d3eaa | 240 | \brief Core Register type definitions. |
Kojto | 93:e188a91d3eaa | 241 | @{ |
Kojto | 93:e188a91d3eaa | 242 | */ |
Kojto | 93:e188a91d3eaa | 243 | |
Kojto | 93:e188a91d3eaa | 244 | /** \brief Union type to access the Application Program Status Register (APSR). |
Kojto | 93:e188a91d3eaa | 245 | */ |
Kojto | 93:e188a91d3eaa | 246 | typedef union |
Kojto | 93:e188a91d3eaa | 247 | { |
Kojto | 93:e188a91d3eaa | 248 | struct |
Kojto | 93:e188a91d3eaa | 249 | { |
Kojto | 93:e188a91d3eaa | 250 | uint32_t _reserved0:16; /*!< bit: 0..15 Reserved */ |
Kojto | 93:e188a91d3eaa | 251 | uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */ |
Kojto | 93:e188a91d3eaa | 252 | uint32_t reserved1:7; /*!< bit: 20..23 Reserved */ |
Kojto | 93:e188a91d3eaa | 253 | uint32_t Q:1; /*!< bit: 27 Saturation condition flag */ |
Kojto | 93:e188a91d3eaa | 254 | uint32_t V:1; /*!< bit: 28 Overflow condition code flag */ |
Kojto | 93:e188a91d3eaa | 255 | uint32_t C:1; /*!< bit: 29 Carry condition code flag */ |
Kojto | 93:e188a91d3eaa | 256 | uint32_t Z:1; /*!< bit: 30 Zero condition code flag */ |
Kojto | 93:e188a91d3eaa | 257 | uint32_t N:1; /*!< bit: 31 Negative condition code flag */ |
Kojto | 93:e188a91d3eaa | 258 | } b; /*!< Structure used for bit access */ |
Kojto | 93:e188a91d3eaa | 259 | uint32_t w; /*!< Type used for word access */ |
Kojto | 93:e188a91d3eaa | 260 | } APSR_Type; |
Kojto | 93:e188a91d3eaa | 261 | |
Kojto | 93:e188a91d3eaa | 262 | |
Kojto | 93:e188a91d3eaa | 263 | /*@} end of group CMSIS_CORE */ |
Kojto | 93:e188a91d3eaa | 264 | |
Kojto | 93:e188a91d3eaa | 265 | /*@} end of CMSIS_Core_FPUFunctions */ |
Kojto | 93:e188a91d3eaa | 266 | |
Kojto | 93:e188a91d3eaa | 267 | |
Kojto | 93:e188a91d3eaa | 268 | #endif /* __CORE_CA9_H_GENERIC */ |
Kojto | 93:e188a91d3eaa | 269 | |
Kojto | 93:e188a91d3eaa | 270 | #endif /* __CMSIS_GENERIC */ |
Kojto | 93:e188a91d3eaa | 271 | |
Kojto | 93:e188a91d3eaa | 272 | #ifdef __cplusplus |
Kojto | 93:e188a91d3eaa | 273 | } |
Kojto | 93:e188a91d3eaa | 274 | |
Kojto | 93:e188a91d3eaa | 275 | |
Kojto | 93:e188a91d3eaa | 276 | #endif |