The official mbed C/C SDK provides the software platform and libraries to build your applications.

Fork of mbed by mbed official

Embed: (wiki syntax)

« Back to documentation index

core_cmFunc.h File Reference

core_cmFunc.h File Reference

CMSIS Cortex-M Core Function Access Header File. More...

Go to the source code of this file.

Functions

__STATIC_INLINE uint32_t __get_CONTROL (void)
 Get Control Register.
__STATIC_INLINE void __set_CONTROL (uint32_t control)
 Set Control Register.
__STATIC_INLINE uint32_t __get_IPSR (void)
 Get IPSR Register.
__STATIC_INLINE uint32_t __get_APSR (void)
 Get APSR Register.
__STATIC_INLINE uint32_t __get_xPSR (void)
 Get xPSR Register.
__STATIC_INLINE uint32_t __get_PSP (void)
 Get Process Stack Pointer.
__STATIC_INLINE void __set_PSP (uint32_t topOfProcStack)
 Set Process Stack Pointer.
__STATIC_INLINE uint32_t __get_MSP (void)
 Get Main Stack Pointer.
__STATIC_INLINE void __set_MSP (uint32_t topOfMainStack)
 Set Main Stack Pointer.
__STATIC_INLINE uint32_t __get_PRIMASK (void)
 Get Priority Mask.
__STATIC_INLINE void __set_PRIMASK (uint32_t priMask)
 Set Priority Mask.
__STATIC_INLINE uint32_t __get_BASEPRI (void)
 Get Base Priority.
__STATIC_INLINE void __set_BASEPRI (uint32_t basePri)
 Set Base Priority.
__STATIC_INLINE uint32_t __get_FAULTMASK (void)
 Get Fault Mask.
__STATIC_INLINE void __set_FAULTMASK (uint32_t faultMask)
 Set Fault Mask.
__STATIC_INLINE uint32_t __get_FPSCR (void)
 Get FPSCR.
__STATIC_INLINE void __set_FPSCR (uint32_t fpscr)
 Set FPSCR.
 __attribute__ ((always_inline)) __STATIC_INLINE void __enable_irq(void)
 Enable IRQ Interrupts.

Detailed Description

CMSIS Cortex-M Core Function Access Header File.

Version:
V3.02
Date:
24. May 2012
Note:
Copyright (C) 2009-2012 ARM Limited. All rights reserved.
ARM Limited (ARM) is supplying this software for use with Cortex-M processor based microcontrollers. This file can be freely distributed within development tools that are supporting such ARM based processors.
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file core_cmFunc.h.