cortexm3_macro.h

00001 /******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
00002 * File Name          : cortexm3_macro.h
00003 * Author             : MCD Application Team
00004 * Version            : V2.0.3
00005 * Date               : 09/22/2008
00006 * Description        : Header file for cortexm3_macro.s.
00007 ********************************************************************************
00008 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
00009 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
00010 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
00011 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
00012 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
00013 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
00014 *******************************************************************************/
00015 
00016 /* Define to prevent recursive inclusion -------------------------------------*/
00017 #ifndef __CORTEXM3_MACRO_H
00018 #define __CORTEXM3_MACRO_H
00019 
00020 /* Includes ------------------------------------------------------------------*/
00021 #include "stm32f10x_type.h"
00022 
00023 /* Exported types ------------------------------------------------------------*/
00024 /* Exported constants --------------------------------------------------------*/
00025 /* Exported macro ------------------------------------------------------------*/
00026 /* Exported functions ------------------------------------------------------- */
00027 void __WFI(void);
00028 void __WFE(void);
00029 void __SEV(void);
00030 void __ISB(void);
00031 void __DSB(void);
00032 void __DMB(void);
00033 void __SVC(void);
00034 u32 __MRS_CONTROL(void);
00035 void __MSR_CONTROL(u32 Control);
00036 u32 __MRS_PSP(void);
00037 void __MSR_PSP(u32 TopOfProcessStack);
00038 u32 __MRS_MSP(void);
00039 void __MSR_MSP(u32 TopOfMainStack);
00040 void __RESETPRIMASK(void);
00041 void __SETPRIMASK(void);
00042 u32 __READ_PRIMASK(void);
00043 void __RESETFAULTMASK(void);
00044 void __SETFAULTMASK(void);
00045 u32 __READ_FAULTMASK(void);
00046 void __BASEPRICONFIG(u32 NewPriority);
00047 u32 __GetBASEPRI(void);
00048 u16 __REV_HalfWord(u16 Data);
00049 u32 __REV_Word(u32 Data);
00050 
00051 #endif /* __CORTEXM3_MACRO_H */
00052 
00053 /******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/

Generated on Mon Apr 11 14:23:35 2011 for Contiki 2.5 by  doxygen 1.6.1