资源简介
基于STM32F103C8T6开发板的DHT11温湿度传感器OLED动态显示程序,相关引脚连接请参照工程当中的README文档。注释详细,可供学习参考。
代码片段和文件信息
/**************************************************************************//**
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 17273 2010-06-07 10:25 T&H Sensor\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 T&H Sensor\CORE\core_cm3.h
文件 12762 2010-10-18 20:09 T&H Sensor\CORE\startup_stm32f10x_md.s
文件 2332 2019-04-01 10:10 T&H Sensor\HAREWARE\DHT11\dht11.c
文件 625 2019-04-01 10:10 T&H Sensor\HAREWARE\DHT11\dht11.h
文件 1297 2018-09-08 22:09 T&H Sensor\HAREWARE\KEY\key.c
文件 515 2018-09-08 22:09 T&H Sensor\HAREWARE\KEY\key.h
文件 874 2018-09-08 18:08 T&H Sensor\HAREWARE\LED\led.c
文件 76 2015-04-10 21:22 T&H Sensor\HAREWARE\LED\led.h
文件 12248 2018-09-15 17:26 T&H Sensor\HAREWARE\OLED_IIC\ASCII_CODE_8X16_5X8_VERTICAL.H
文件 10756 2018-09-18 13:50 T&H Sensor\HAREWARE\OLED_IIC\Chinese_And_Graphic.H
文件 9921 2019-04-01 10:50 T&H Sensor\HAREWARE\OLED_IIC\OLED_IIC.c
文件 986 2019-04-01 10:48 T&H Sensor\HAREWARE\OLED_IIC\OLED_IIC.h
文件 399 2011-04-23 10:24 T&H Sensor\keilkilll.bat
文件 3953 2019-03-31 21:43 T&H Sensor\OBJ\core_cm3.crf
文件 115 2019-03-31 21:43 T&H Sensor\OBJ\core_cm3.d
文件 11324 2019-03-31 21:43 T&H Sensor\OBJ\core_cm3.o
文件 348311 2019-03-31 21:43 T&H Sensor\OBJ\delay.crf
文件 1680 2019-03-31 21:43 T&H Sensor\OBJ\delay.d
文件 384424 2019-03-31 21:43 T&H Sensor\OBJ\delay.o
文件 349205 2019-04-01 10:11 T&H Sensor\OBJ\dht11.crf
文件 1725 2019-04-01 10:11 T&H Sensor\OBJ\dht11.d
文件 390032 2019-04-01 10:11 T&H Sensor\OBJ\dht11.o
文件 19 2018-09-18 14:06 T&H Sensor\OBJ\ExtDll.iex
文件 348833 2019-03-31 21:43 T&H Sensor\OBJ\key.crf
文件 1651 2019-03-31 21:43 T&H Sensor\OBJ\key.d
文件 384216 2019-03-31 21:43 T&H Sensor\OBJ\key.o
文件 346621 2019-03-31 21:43 T&H Sensor\OBJ\led.crf
文件 1577 2019-03-31 21:43 T&H Sensor\OBJ\led.d
文件 379080 2019-03-31 21:43 T&H Sensor\OBJ\led.o
............此处省略187个文件信息
相关资源
- STM32F103C8T6+DHT11+SGP30+CH340+ADC
- STM32实现LCD中显示当前ADC转换值
- 基于STM32的DHT11的温湿度采集GSM报警系
- STM32 MODBUS_RTU从站程序,KEIL编写
- stm32接收短信并开启继电器
- stm32智能小车/数组控制小车路径/避障
- NRF24L01收发程序STM32F407
- 蓝桥杯嵌入式五届到八届完成全部源
- stm32f103zet6+摄像头颜色识别
- 基于stm32的红外代码程序
- LD3320语音模块资料51单片机代码,ST
- STM32F777 eMMC 驱动
- STM32F单片机与SIM900A的硬件条件下读一
- STM32 MPU6050 载人平衡车资料
- STM32F429DISCOVERY外接SD卡使用SDIO4BIT方式
- 28BYJ-48步进电机(STM32F1)
- uCOS-III+STemWin+Fatfs+usb在STM32F407上成功移
- stm32+ov7670数字识别
- GRBL在STM32的移植
- stm32f103中文资料.
-
STM32 STli
nk驱动 - 基于STM32和SIM900A的无线通信模块设计
- PID-增量式PID和位置式PID算法实现和
- STM32F103 SX1278完整的通讯程序+sx12xxDr
- 增益可控放大器
- STM32F407串口1-6 CAN1&2测试例程
- stm32f103c8t6 OLED 硬件SPI
- STM32智能家居程序
- 循迹避障小车工程进阶版本
- mlx90614红外测温传感器stm32f103rct6
评论
共有 条评论