资源简介
MPU6500 stm32 stc51 arduino源代码以及模块资料,模块原理图,亲测可用,放心下载
代码片段和文件信息
/******************************************************************************
* @file: core_cm3.c
* @purpose: CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version: V1.20
* @date: 22. May 2009
*----------------------------------------------------------------------------
*
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* ARM Limited (ARM) is supplying this software for use with Cortex-Mx
* 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.
*
******************************************************************************/
#include
/* define compiler specific symbols */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for armcc */
#define __INLINE __inline /*!< inline keyword for armcc */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for iarcc */
#define __INLINE inline /*!< inline keyword for iarcc. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for gcc */
#define __INLINE inline /*!< inline keyword for gcc */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/**
* @brief Return the Process Stack Pointer
*
* @param none
* @return uint32_t ProcessStackPointer
*
* Return the actual process stack pointer
*/
__ASM uint32_t __get_PSP(void)
{
mrs r0 psp
bx lr
}
/**
* @brief Set the Process Stack Pointer
*
* @param uint32_t Process Stack Pointer
* @return none
*
* Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
__ASM void __set_PSP(uint32_t topOfProcStack)
{
msr psp r0
bx lr
}
/**
* @brief Return the Main Stack Pointer
*
* @param none
* @return uint32_t Main Stack Pointer
*
* Return the current value of the MSP (main stack pointer)
* Cortex processor register
*/
__ASM uint32_t __get_MSP(void)
{
mrs r0 msp
bx lr
}
/**
* @brief Set the Main Stack Pointer
*
* @param uint32_t Main Stack Pointer
* @return none
*
*
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 53493 2013-03-08 09:58 I2Cdev\I2Cdev.cpp
文件 11540 2013-03-08 09:58 I2Cdev\I2Cdev.h
文件 859 2013-03-08 09:58 I2Cdev\keywords.txt
目录 0 2014-03-18 11:47 I2Cdev
----------- --------- ---------- ----- ----
65892 4
- 上一篇:麻将游戏源码
- 下一篇:汽车CAN线传输协议ISO15765
相关资源
- LCD1602硬件结构及程序设计
- OpenGL-Nehe完整中文教程和全部源代码
- 各种游戏源代码
- 5419da33c2cc4d4c82f518b6c2c86d0f.zip
- 智能家居系统实现源代码结构不错,
- 86fdc1d065d049ea9dd1100f5185425d.zip
- Pygame游戏源代码:超级玛丽.rar
- 山东大学软件学院 非关系型数据库实
- 80C51F040使用手册--中文
- 89C51电子血压计毕业设计论文
- 经典51单片机开发板Protel99se文件含原
- unity拯救大兵3.项目源文件
- SiC8051F_uVision.exe Keil调试驱动
- STC8A加强版开发板配套程序
- IMS PCRF开源代码
- Silicon 单片机程序烧写软件
- HI3518 +NT99140 做的高清行车记录仪
- 基于AT89C51单片机的水塔智能水位控制
- 安卓,画图、涂鸦板app源代码
- A Closed Form Solution to Natural Image Mattin
- DSP完成APF源代码
- 基于51单片机的全自动洗衣机控制器的
- 安卓无线点餐源代码
- 51KT57AUS_G31T-LM_1.0带IDE接口BIOS 酷睿2四
- 风电及光伏智能电网设计包含光伏电
- Glundland图像去色论文
- 基于颜色、纹理特征的图像检索系统
- Spring+Hibernate+JSF整合,完整购物系统源
- LINUX-1.2.13内核网络栈实现源代码分析
- 算法设计与分析第二版王红梅编 源代
评论
共有 条评论