资源简介
实测可用,精度不错;
改编自正点原子F4版;
代码片段和文件信息
/**************************************************************************//**
* @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 2019-03-24 15:46 9250\
目录 0 2019-03-24 15:46 9250\CORE\
文件 17273 2010-06-07 10:25 9250\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 9250\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 9250\CORE\startup_stm32f10x_hd.s
目录 0 2019-03-24 15:46 9250\DMP\
目录 0 2019-03-24 15:46 9250\DMP\driver\
目录 0 2019-03-24 15:46 9250\DMP\driver\eMPL\
文件 19342 2016-04-15 22:24 9250\DMP\driver\eMPL\dmpKey.h
文件 6765 2016-04-15 22:24 9250\DMP\driver\eMPL\dmpmap.h
文件 107526 2016-11-26 16:04 9250\DMP\driver\eMPL\inv_mpu.c
文件 5278 2016-04-15 22:24 9250\DMP\driver\eMPL\inv_mpu.h
文件 58401 2016-04-15 22:24 9250\DMP\driver\eMPL\inv_mpu_dmp_motion_driver.c
文件 3538 2016-04-15 22:24 9250\DMP\driver\eMPL\inv_mpu_dmp_motion_driver.h
目录 0 2019-03-24 15:46 9250\DMP\driver\include\
文件 10452 2016-04-15 22:24 9250\DMP\driver\include\log.h
文件 1016 2016-04-15 22:24 9250\DMP\driver\include\mlinclude.h
文件 2270 2016-04-15 22:24 9250\DMP\driver\include\mlmath.h
文件 2134 2016-04-15 22:24 9250\DMP\driver\include\mlos.h
文件 9516 2016-04-15 22:24 9250\DMP\driver\include\mltypes.h
文件 11755 2016-04-15 22:24 9250\DMP\driver\include\mpu.h
文件 836 2016-04-15 22:24 9250\DMP\driver\include\stdint_invensense.h
目录 0 2019-03-24 15:46 9250\DMP\driver\stm32L\
文件 6100 2016-11-26 15:55 9250\DMP\driver\stm32L\log_stm32.c
文件 1546 2016-04-15 22:24 9250\DMP\driver\stm32L\packet.h
目录 0 2019-03-24 15:46 9250\DMP\eMPL-hal\
文件 11204 2016-04-15 22:24 9250\DMP\eMPL-hal\eMPL_outputs.c
文件 1314 2016-04-15 22:24 9250\DMP\eMPL-hal\eMPL_outputs.h
目录 0 2019-03-24 15:46 9250\DMP\mllite\
文件 45889 2016-04-15 22:24 9250\DMP\mllite\data_builder.c
文件 9509 2016-04-15 22:24 9250\DMP\mllite\data_builder.h
............此处省略209个文件信息
相关资源
- 基于STM32F407(1HZ~3MHZ)频率测量2%误差
- stm32f103C8T6 MCP3204程序代码
- stm32f103 CAN-RS232/RS485
- TCS3200通过串口查看颜色识别结果带接
- stm32f103竞赛板的一个流水灯程序,是
- STM32F103dsp库
- 基于STM32F103系列ov7670获取图像控制量
- STM32F207的U盘_USB_IAP升级程序 Bootloade
- 基于STM32F107的232通讯例程
- STM32F103C8T6 IAP-串口在线升级
- STM32F103 步进电机驱动程序
- 基于STM32F103C8T6的NRF24L01无线通讯模块
- STM32F10x舵机控制
- stm32F107 CAN通讯的程序
- stm32f103c8t6模数转换AD例程
- proteus8.6仿真stm32f103
- 基于STM32F103的LCD1602的IIC显示程序
- 履带小车STM32F401ZG
- HC-SR04超声波模块+STM32F103
- 基于STM32F407(1HZ~600KHZ)频率,占空比
- DMA+多路ADC+定时器+均值滤波.zip
- stm32f103IIC驱动LCD1602
- Altium designer 画的STM32F103核心板
- stm32f429核心板PCB
- 贪吃蛇游戏 STM32F103ZET6
- STM32F407的FSMC工程模板,STM32F407的FSM
- STM32F103C8T6库函数工程
- 基于stm32f407的ads1118
- STM32F103输入捕获实验 改占空比
- ADF4351 stm32f10x 控制代码
评论
共有 条评论