资源简介
温度传感器和stm32的例程,并用串口输出温度信息。有详细的注释。
代码片段和文件信息
/**************************************************************************//**
* @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 2012-12-28 16:23 stm32_ds18b20\
目录 0 2012-12-28 16:23 stm32_ds18b20\CMSIS\
文件 17273 2012-07-05 09:33 stm32_ds18b20\CMSIS\core_cm3.c
文件 85714 2012-07-05 09:33 stm32_ds18b20\CMSIS\core_cm3.h
文件 629756 2012-07-09 15:52 stm32_ds18b20\CMSIS\stm32f10x.h
文件 2068 2012-07-05 09:33 stm32_ds18b20\CMSIS\system_stm32f10x.h
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\CM3\
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\CM3\CoreSupport\
文件 17273 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\CoreSupport\core_cm3.c
文件 85714 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\CoreSupport\core_cm3.h
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\
文件 12486 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_cl.s
文件 12474 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_hd.s
文件 12192 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_hd_vl.s
文件 9710 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_ld.s
文件 10159 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_ld_vl.s
文件 10159 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_md.s
文件 10624 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_md_vl.s
文件 13134 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_xl.s
目录 0 2012-12-28 16:23 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\
文件 15763 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
文件 15500 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
文件 15767 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s
文件 12373 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
文件 13653 2012-07-05 09:33 stm32_ds18b20\Library\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
............此处省略149个文件信息
相关资源
- ucos_ii移植stm32f4官网代码资料
- tcp客户端数据收发工程
- STM32/ARM的官方DSP库
- stm32103c8数据手册
- STM32 F103 通过SPI口读取RFID的
- 基于GP22的超声波流量计
- stm32系列sim900a发送短信代码
- STM32F407 双ADC同步采样TIM3触发,DMA中断
- 使用Zigbee通信的STM32上位机控制小车
- STM32F4串口发送
- stm8s ds18b20 温度传感器 IAR函数库源代
- STM32 UCGUIKEIL工程,已经移植好,修改
- 基于STM32的IOT系统设计及开发
- STM32F3与F4系列Cortex M4内核编程手册.
- 基于STM32的编码器程序
- stm32控制的LCD19264显示程序
- 基于STM32的简易计算器.rar
- stm32f4 discovery uCOSII 2.91 IAR6.3
- STM32L系列直驱段式LCD、待机模式、A
- STM32毕业设计论文-STM32图像采集系统
- STM32F103C8 虚拟示波器 源码全套资料
- STM32单片机实现Modbus协议主机2个源码
- STM32F103C6T6做的USB转RS232模块图纸源码
- stm32-sht10采集,即可使用
- 百度云IoT物联网平台 -ESP8266-MQTT 1路开
- OneNet云IoT物联网平台 ESP8266 MQTT 1路开
- STM32+TIM+ADC
- STM32+ADC+中断+串口通信
- 单线半双工通信.zip
- stm32秒表程序
评论
共有 条评论