资源简介
IAR环境下,stm32读取MPU6050数据,发送到串口。
代码片段和文件信息
/**************************************************************************//**
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 143788 2014-07-25 20:35 tly01\Debug\Exe\test.out
文件 23380 2014-05-12 10:11 tly01\Debug\Obj\analog_i2c.o
文件 20112 2014-05-12 10:01 tly01\Debug\Obj\core_cm3.o
文件 8072 2014-05-12 10:01 tly01\Debug\Obj\delay.o
文件 33164 2014-05-21 23:36 tly01\Debug\Obj\LCD1602.o
文件 17160 2014-07-25 20:35 tly01\Debug\Obj\main.o
文件 13164 2014-05-12 10:01 tly01\Debug\Obj\misc.o
文件 49424 2014-05-12 09:33 tly01\Debug\Obj\startup_stm32f10x_hd.o
文件 55948 2014-05-12 10:01 tly01\Debug\Obj\stm32f10x_flash.o
文件 37392 2014-05-12 10:01 tly01\Debug\Obj\stm32f10x_gpio.o
文件 15324 2014-05-12 10:01 tly01\Debug\Obj\stm32f10x_it.o
文件 60240 2014-05-12 10:01 tly01\Debug\Obj\stm32f10x_rcc.o
文件 56104 2014-05-12 10:01 tly01\Debug\Obj\stm32f10x_usart.o
文件 16420 2014-05-12 10:10 tly01\Debug\Obj\stm32f10x_wwdg.o
文件 13928 2014-05-12 10:01 tly01\Debug\Obj\system_stm32f10x.o
文件 16100 2014-05-12 10:07 tly01\Debug\Obj\sys_config.o
文件 755 2014-07-25 20:50 tly01\Debug\Obj\test.pbd
文件 9608 2014-05-22 23:26 tly01\Debug\Obj\usart.o
文件 17273 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
文件 85714 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
文件 571 2014-05-10 16:41 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\Regtarge.c
文件 26297 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\Release_Notes.html
文件 15766 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
文件 15503 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
文件 15692 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s
文件 12376 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
文件 13656 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
文件 12765 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
文件 14073 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
文件 15955 2011-03-19 12:13 tly01\Libraries_V3.30\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s
............此处省略217个文件信息
- 上一篇:游戏策划之路共10个doc文档
- 下一篇:GIVEIO 并口驱动
相关资源
- STM32控制锁相环频综芯片HMC704的程序
- STM32 PCB原理图
- 串口ymodem传输文件
- LINUX 串口与SPI操作
- 嵌入式网络那些事-STM32物联实战完整
- PSoc4串口收(中断)发
-
STM32f103 jli
nk命令行 SWD方式烧写脚本 - STM32F0,F1,F2,F3,F4固件包库,DFP文
- STM32F407驱动AD7606的8路16位AD同步采样含
- 基于STM32的 ADXL345三轴测量角度 软件
- 串口通讯+modbus通讯协议
- STM32+BC95核心板原理图
- STM32驱动AD9850,串行方式,完整工程
- stm32红外程序
- stm32-esp8266客户端驱动
- Verilog HDL编写的FPGA RS232串口发送代码
- usb2.0-serial驱动
- KEIL5.23中UCOS-ii移植全过程stm32
- AD元件库包括STM32
- 微机原理与接口技术综合实验报告
- STM32 F103R6 寄存器方式读写GPIO源代码
- ADXL345 STM32 SPI 代码亲测可用
- STM32无刷直流电机PWM控制
- STM32封装库和原理图
- 串口两线转一线原理图
- PIC串口发送接收多字节
- 用stm32以软件IIC方式驱动1602 解压密码
- PIC 单片机软件模拟串口
- 野火STM32教程之26-计算器(需LCD触摸支
- 兼容超级终端Ymodem协议的stm32程序更新
评论
共有 条评论