资源简介
利用LSM6DSL传感器检测倾角,达到一定阀值以后由INT引脚输出高电平,唤醒单片机,单片机通过BC26 NB模块发送数据到云平台
代码片段和文件信息
/**************************************************************************//**
* @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 2018-11-24 21:08 2020-FourQingdao-7030-1106\
目录 0 2018-11-23 18:02 2020-FourQingdao-7030-1106\CMSIS\
文件 4676 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\arm_common_tables.h
文件 3666 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\arm_const_structs.h
文件 242444 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\arm_math.h
文件 40880 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\cmsis_os.h
文件 33042 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\core_cm0.h
文件 40429 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\core_cm0plus.h
文件 17273 2015-07-04 15:01 2020-FourQingdao-7030-1106\CMSIS\core_cm3.c
文件 85714 2015-07-04 15:01 2020-FourQingdao-7030-1106\CMSIS\core_cm3.h
文件 109142 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\core_cm4.h
文件 22735 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\core_cm4_simd.h
文件 17146 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\core_cmFunc.h
文件 20513 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\core_cmInstr.h
文件 41744 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\core_sc000.h
文件 98211 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\core_sc300.h
目录 0 2018-11-23 18:02 2020-FourQingdao-7030-1106\CMSIS\Include\
文件 500990 2018-11-20 10:47 2020-FourQingdao-7030-1106\CMSIS\Include\stm32l1xx.h
文件 2258 2018-11-20 13:32 2020-FourQingdao-7030-1106\CMSIS\Include\system_stm32l1xx.h
目录 0 2018-11-23 18:02 2020-FourQingdao-7030-1106\CMSIS\Source\
目录 0 2018-11-23 18:02 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\
目录 0 2018-11-23 18:02 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\arm\
文件 14803 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\arm\startup_stm32l1xx_hd.s
文件 13020 2018-09-05 13:21 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\arm\startup_stm32l1xx_md.s
文件 14559 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\arm\startup_stm32l1xx_mdp.s
文件 14729 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\arm\startup_stm32l1xx_xl.s
目录 0 2018-11-23 18:02 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\gcc_ride7\
文件 11998 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\gcc_ride7\startup_stm32l1xx_hd.s
文件 10669 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\gcc_ride7\startup_stm32l1xx_md.s
文件 11745 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\gcc_ride7\startup_stm32l1xx_mdp.s
文件 11909 2014-05-15 15:55 2020-FourQingdao-7030-1106\CMSIS\Source\Templates\gcc_ride7\startup_stm32l1xx_xl.s
............此处省略254个文件信息
相关资源
- ADS1256-STM32+数据采集板资料.zip
- stm32f103c8t6-max31865-pt100测温
- Keil5下的STM32F407程序
- STM32L152 RTC 读取时间和日期
- STM32固件库使用手册(中文版)
- stm32F103C8外部flash图片显示
- STM32 GPIO和定时器 模拟串口
- ZLIB解压缩STM32工程
- STM32控制sg90舵机代码.rar
- 手环(一)---计步、速度等等.rar
- STM32F103 ADC测电压 代码
- Mini_oneNET.zip
- zw_qq_39340220-10661258-stm32机械手臂小车
- 基于STM32的室内温度控制系统.doc
- stm32f103测量pm2.5源码
- 基于stm32的闹钟rtc
- 轩微科技STM32编程器控制平台.rar
- MQ7浓度采集程序
- zw_OLED-STM32F4-IIC.zip
- 基于STM32篮球比赛计分
- STM32F103C8T6与MQTT通信的源码
- USART基于hal库stm32f407串口通讯.rar
- stm32之传感器DHT11.zip
- STM32F4基于HAL库的LCD显示实验
- STM32硬件IIC主机例程以读写EEPROM为例
- MLX90614红外测温仪软件设计.rar
- STM32F103C8T6读取DS18B20串口显示程序.r
- MLX90614(GY906)____STM32F103ZET6
- Bad Apple.zip
- stm32f4+ov5640颜色识别.zip
评论
共有 条评论