资源简介
I2C总线,读出数据后进行卡尔曼滤波,可应用与惯性导航,飞空自稳,类人型机器人状态监测。
代码片段和文件信息
/**************************************************************************//**
* @file core_cm3.c
* @brief CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version V1.30
* @date 30. October 2009
*
* @note
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* @par
* 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.
*
* @par
* 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 ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
/* ################### Compiler specific Intrinsics ########################### */
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */
/**
* @brief Return the Process Stack Pointer
*
* @return 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 topOfProcStack Process Stack Pointer
*
* 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
*
* @return Main Stack Pointer
*
* Return the curren
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-01-21 09:45 GY-85\
目录 0 2014-01-20 19:41 GY-85\ADXL345加速度传感器\
文件 140800 2014-01-20 19:41 GY-85\ADXL345加速度传感器\ADXL345应用笔记更新.wps
文件 355668 2014-01-20 19:40 GY-85\ADXL345加速度传感器\ADXL345快速入门AN-1077_cn.pdf
文件 129298 2012-01-12 15:52 GY-85\GY-85电路图.jpg
目录 0 2014-01-21 18:10 GY-85\L3G4200D陀螺仪\
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\CoreSupport\
文件 17273 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
文件 85714 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\
文件 19836 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\Release_Notes_for_STM32F10x_CMSIS.html
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\
文件 15761 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
文件 15498 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
文件 12371 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
文件 13651 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
文件 12760 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
文件 14068 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
文件 15950 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s
目录 0 2012-07-21 16:22 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\
文件 12943 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s
文件 13042 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s
文件 9698 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld.s
文件 10445 2010-04-23 10:40 GY-85\L3G4200D陀螺仪\I2C_L3G4200D_TEST_OK\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld_vl.s
............此处省略1361个文件信息
评论
共有 条评论