资源简介
stm32f103c8t6 + esp8266 + 机智云,MQ2,MQ7,DHT11,其中MQ2和MQ7已将电压转换成PPM,大家可以参考;其他部分大多是参考正点原子的代码。
代码片段和文件信息
/**************************************************************************//**
* @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-05-22 21:11 CORE\
文件 17273 2010-06-07 10:25 CORE\core_cm3.c
文件 85714 2011-02-09 14:59 CORE\core_cm3.h
文件 15766 2011-03-10 10:52 CORE\startup_stm32f10x_cl.s
文件 15503 2011-03-10 10:52 CORE\startup_stm32f10x_hd.s
文件 15692 2011-03-10 10:52 CORE\startup_stm32f10x_hd_vl.s
文件 12376 2011-03-10 10:52 CORE\startup_stm32f10x_ld.s
文件 13656 2011-03-10 10:52 CORE\startup_stm32f10x_ld_vl.s
文件 12765 2011-03-10 10:52 CORE\startup_stm32f10x_md.s
文件 14073 2011-03-10 10:51 CORE\startup_stm32f10x_md_vl.s
文件 15955 2011-03-10 10:51 CORE\startup_stm32f10x_xl.s
目录 0 2020-05-27 18:28 Gizwits\
文件 9469 2020-05-27 18:28 Gizwits\gizwits_product.c
文件 1301 2020-05-27 18:28 Gizwits\gizwits_product.h
文件 47005 2020-05-27 09:43 Gizwits\gizwits_protocol.c
文件 26537 2020-05-27 09:43 Gizwits\gizwits_protocol.h
目录 0 2020-05-27 21:01 MyCode\
目录 0 2020-05-26 17:04 MyCode\ADC\
文件 3560 2020-05-23 18:50 MyCode\ADC\adc-dma.c
文件 1235 2020-05-26 17:04 MyCode\ADC\adc_dma.h
目录 0 2020-05-26 18:24 MyCode\DHT11\
文件 2298 2020-05-26 18:24 MyCode\DHT11\dht11.c
文件 815 2020-05-26 18:23 MyCode\DHT11\dht11.h
目录 0 2020-05-27 17:54 MyCode\ESP8266\
文件 2073 2020-05-27 17:53 MyCode\ESP8266\esp8266.c
文件 117 2020-05-27 17:53 MyCode\ESP8266\esp8266.h
目录 0 2020-05-27 21:05 MyCode\LED\
文件 629 2020-05-27 21:05 MyCode\LED\led.c
文件 459 2020-05-27 21:04 MyCode\LED\led.h
目录 0 2020-05-27 20:39 MyCode\MQ\
文件 1988 2020-05-27 20:39 MyCode\MQ\mq2.c
............此处省略270个文件信息
相关资源
- STM32+DHT11+OLED+RTC+MQ2+NRF24L01+串口12
- MQ-2烟雾传感器模块.zip
- MQ7浓度采集程序
- MQ7一氧化碳传感器源码.zip
- STM32对接机智云
- STM32接入机智云工具包
- 正点原子mini开发板+DHT11测量温湿度上
- 正点原子基于STM32F103的机智云移植手
- 机智云APP制作教程
- 基于STM32一氧化碳无线报警报器
- 基于MQ2烟雾传感器的STM32F103程序
- 基于物联网的多功能电子药箱
- 基于51单片机的烟雾报警器设计
- STM32F4ZGT6控制烟雾与温湿度传感器
- 机智云演示Demo
- STM32F407_ESP8266连接机智云
- 机智云APP控制STM32战舰V3的LED和蜂鸣器
- ESP8266开发
- stm32_MCU移植接入机智云新
- STM32接入机智云—点灯教程
- STM32F103C8T6 单片机 ESP8266 12F接入机智云
- STM32F407的wifi及DHT11,MQ2 Keil开发源码
- 机智云开源框架智能家居系统
- stm32f407使用MQ7检测一氧化碳浓度程序
- IBM MQ7安装部署手册
- stm32f103使用烟雾mq2,火焰,继电器
- PI解决队列堵塞问题
- 基于DS18B20温度传感器和MQ2烟雾传感器
- MQ2烟雾传感器源码.zip
评论
共有 条评论