资源简介
在正点原子OLED实验、IIC实验、DHT11实验基础上,利用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 2020-04-17 14:30 DHT11\
目录 0 2020-04-17 14:30 DHT11\CORE\
文件 17273 2010-06-07 10:25 DHT11\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 DHT11\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 DHT11\CORE\startup_stm32f10x_hd.s
目录 0 2020-04-17 14:31 DHT11\HARDWARE\
目录 0 2020-04-17 22:09 DHT11\HARDWARE\DHT11\
文件 2811 2020-04-17 22:09 DHT11\HARDWARE\DHT11\dht11.c
文件 1115 2020-04-17 22:09 DHT11\HARDWARE\DHT11\dht11.h
目录 0 2020-04-17 14:30 DHT11\HARDWARE\IIC\
文件 3336 2020-04-15 17:35 DHT11\HARDWARE\IIC\myiic.c
文件 986 2020-04-15 17:36 DHT11\HARDWARE\IIC\myiic.h
目录 0 2020-04-17 14:30 DHT11\HARDWARE\KEY\
文件 1827 2015-03-20 12:41 DHT11\HARDWARE\KEY\key.c
文件 1186 2015-03-19 16:14 DHT11\HARDWARE\KEY\key.h
目录 0 2020-04-17 14:30 DHT11\HARDWARE\LED\
文件 1298 2012-09-13 13:13 DHT11\HARDWARE\LED\led.c
文件 638 2012-09-13 09:45 DHT11\HARDWARE\LED\led.h
目录 0 2020-04-18 21:26 DHT11\HARDWARE\OLED\
文件 7836 2020-04-18 21:19 DHT11\HARDWARE\OLED\oled.c
文件 757 2020-04-18 21:26 DHT11\HARDWARE\OLED\oled.h
文件 67480 2020-04-17 14:44 DHT11\HARDWARE\OLED\oledfont.h
文件 73127 2019-12-01 18:46 DHT11\HARDWARE\OLED\oledfont.h~RF1bbe1f8.TMP
文件 73194 2020-04-15 17:53 DHT11\HARDWARE\OLED\oledfont.h~RF1c25f88.TMP
文件 71924 2020-04-15 18:00 DHT11\HARDWARE\OLED\oledfont.h~RF218b5a4.TMP
文件 67128 2020-04-15 19:42 DHT11\HARDWARE\OLED\oledfont.h~RF2231f3b.TMP
文件 67118 2020-04-15 19:54 DHT11\HARDWARE\OLED\oledfont.h~RF46e4450.TMP
目录 0 2020-04-18 21:57 DHT11\OBJ\
文件 320456 2020-04-18 21:57 DHT11\OBJ\OLED.axf
文件 1394 2020-04-18 21:57 DHT11\OBJ\OLED.build_log.htm
文件 48786 2020-04-18 21:57 DHT11\OBJ\OLED.hex
............此处省略427个文件信息
相关资源
- stm32f407网络音箱demo.rar
- 电子-RVMDK.rar
-
STM32 ST-li
nk Utility v4.3.0 setup.zip - 基于STM32的老人吃药提醒器
- STM32的DMA方式实现SD卡存储
- STM32F4x7+freertos+lwip+ssl+MQTT-(MDK5)稳定
- HT-001 RN8209电表套件(STM32带电能),
- 开发例程STM32F103的各种开发子程序
- 中景园0.96寸OLED
- 零死角玩转STM32pdf教程.rar
- FPGA作为从机与STM32用SPI的方式进行通
- STM32F7等精度测量频率程序
- ADS124S08驱动程序
- STM32F407ZGT6中文手册
- 基于FPGA的出租车计费系统的设计
- HAL库stm32F429IGADC DMA
- 原子的STM32开发指南-库函数版本V1.3
- STM32F4xx中文参考手册
- STemWin_5.32
- 基于STM32的PID可调数字电源
-
powerli
nk在stm32上面的实现 - stm32单片机开发三菱PLC(模仿)代码
- STM32 USB转串口驱动 Virtual COM Port Driv
- STM32F407ZGT6流水灯程序
- STM32_FreeRTOS+STemWin+FatFS+USB Host
- STM32F4移植GRBL V1.1版本
- STM32虚拟示波器通过串口无需屏幕
- STM32 ,实现了低压BLDC马达驱动
- freemodbus1.5移植modbusRTU到stm32f429igt6
- STM32F103SPWM
评论
共有 条评论