资源简介
mpu6050的stm32版本,通过串口输出姿态融合后的数据。
代码片段和文件信息
/******************************************************************************
* @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
*
*
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-08-06 15:34 STM32—串口输出MPU6050\
目录 0 2013-08-06 20:04 STM32—串口输出MPU6050\串口\
文件 19 2013-08-06 15:37 STM32—串口输出MPU6050\串口\ExtDll.iex
文件 497 2013-08-06 19:51 STM32—串口输出MPU6050\串口\Jli
文件 3082 2013-08-06 20:04 STM32—串口输出MPU6050\串口\Jli
文件 285 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Jli
目录 0 2013-08-06 15:34 STM32—串口输出MPU6050\串口\Libraries\
目录 0 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\
目录 0 2013-08-06 15:34 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\
目录 0 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\
文件 17206 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\core_cm3.c
文件 46533 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\core_cm3.h
目录 0 2013-08-06 15:34 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\
目录 0 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\arm\
文件 15600 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_cl.s
文件 15872 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_hd.s
文件 12164 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_ld.s
文件 12564 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_md.s
目录 0 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\gcc\
文件 12917 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_cl.s
文件 13560 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.s
文件 9830 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_ld.s
文件 10340 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_md.s
目录 0 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\iar\
文件 16309 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_cl.s
文件 16709 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_hd.s
文件 12333 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_ld.s
文件 12594 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_md.s
文件 593371 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\stm32f10x.h
文件 30622 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\system_stm32f10x.c
文件 2404 2013-08-06 15:37 STM32—串口输出MPU6050\串口\Libraries\CMSIS\Core\CM3\system_stm32f10x.h
............此处省略112个文件信息
相关资源
- 基于STM32的俄罗斯方块
- STM32的SD/MicroSD卡读卡器(通过spi驱动
- stm32 I2C主从机模式控制代码
- STM32定时器比较模式输出两路不同频率
- STM32 MPU6050-DMP
- stm32库函数中文使用手册
- STM32--IIC通信两个JY-901模块
- 基于stm32的几种频率计的实现方法
- Stm32_PWM控制LED由暗变亮占空比可调
- 基于stm32与esp8266智能家居应用
- STM32F103内部温度传感器源码
- 板球系统2017电赛B题
- stm32f103-VK3224
- STM32F103C8T6的双路ADC采样
- 基于STM32F103C8T6的迷宫小车
- STM32f103电压采样并用LCD1602显示
- STM32F407ZET/ZGT STEMWIN ILI9341 SPI LCD液晶屏
- stm32F103与PCM5102A与Helix软解播放MP3
- 用KEIL编写的MODBUS_RTU从站程序STM32
- STM32连接CC1101模块的发射程序!
- STM32F030C8T6库函数模版
- STM32函数库使用手册
- 基于stm32f103C8-ADC带ucos操作系统
- STM32F103C8T6核心板使用说明,原理图,
- MLX90614非接触式红外测温测试代码
- 中景园电子0.96OLED显示屏_STM32_F103C8系
- 基于stm32搬运物块小车
- 基于stm32和FPGA测频测相程序
- PCB练习 STM32最小系统模块制作 适合新
- stm32f407对ds18b20温度传感器数据的采集
评论
共有 条评论