资源简介
利用MPU6050实现倾角检测,做防倾倒报警,带有RTC定时唤醒功能
代码片段和文件信息
/**************************************************************************//**
* @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-10-09 10:50 GJX-Double - gai (1)zuizhongban1\
目录 0 2018-09-07 08:45 GJX-Double - gai (1)zuizhongban1\CMSIS\
文件 4676 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\arm_common_tables.h
文件 3666 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\arm_const_structs.h
文件 242444 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\arm_math.h
文件 40880 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\cmsis_os.h
文件 33042 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\core_cm0.h
文件 40429 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\core_cm0plus.h
文件 17273 2015-07-04 15:01 GJX-Double - gai (1)zuizhongban1\CMSIS\core_cm3.c
文件 85714 2015-07-04 15:01 GJX-Double - gai (1)zuizhongban1\CMSIS\core_cm3.h
文件 109142 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\core_cm4.h
文件 22735 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\core_cm4_simd.h
文件 17146 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\core_cmFunc.h
文件 20513 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\core_cmInstr.h
文件 41744 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\core_sc000.h
文件 98211 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\core_sc300.h
文件 7933 2018-05-11 13:47 GJX-Double - gai (1)zuizhongban1\CMSIS\delay.c
文件 853 2018-05-11 13:19 GJX-Double - gai (1)zuizhongban1\CMSIS\delay.h
目录 0 2018-09-07 11:07 GJX-Double - gai (1)zuizhongban1\CMSIS\Include\
文件 501105 2018-05-11 11:34 GJX-Double - gai (1)zuizhongban1\CMSIS\Include\stm32l1xx.h
文件 2252 2018-09-07 11:07 GJX-Double - gai (1)zuizhongban1\CMSIS\Include\system_stm32l1xx.h
目录 0 2018-08-28 14:29 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\
目录 0 2018-09-28 17:27 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\
目录 0 2018-08-28 14:29 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\arm\
文件 14803 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\arm\startup_stm32l1xx_hd.s
文件 13020 2018-07-27 13:59 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\arm\startup_stm32l1xx_md.s
文件 14559 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\arm\startup_stm32l1xx_mdp.s
文件 14729 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\arm\startup_stm32l1xx_xl.s
目录 0 2018-08-28 14:29 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\gcc_ride7\
文件 11998 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\gcc_ride7\startup_stm32l1xx_hd.s
文件 10669 2014-05-15 15:55 GJX-Double - gai (1)zuizhongban1\CMSIS\Source\Templates\gcc_ride7\startup_stm32l1xx_md.s
............此处省略394个文件信息
相关资源
- 使用vs1063在STM32F103平台上实现WAV录音
- stm32f107 lan8720
- STM32F10x_StdPeriph_Lib_V3.5.0 STM32F10x固件库
- STM32F103 uCOS-II移植源码
- 基于stm32f103 usb 的Win7系统触摸屏程序
- SIMI808的单片机调试程序STM32,51 12,
- [野火ISO]零死角玩转stm32完整版含硬件
- 基于IAR的STM32F407程序模板
- 基于stm32便携式心电图仪设计
- STM32F4+USB bulk FS
- ST7789V_320x240驱动
- 飞控原理图PCB大全.rar
- STM32F10X+ENC28J60 TCP以太网连接
- 2019年电赛h题电磁曲线炮,stm32f407控制
- sin103.zip
-
《玩转.NET Micro fr
amework 移植-基于 - 正点原子Mini STM32开发板原理图跟pcb
- STM32_info.7z
- LL库使用手册 stm32L4xx 手册
- 嵌入式实时操作系统uC/OS III
- SPI-USB-myImu-STM32F103TB.rar
- 12、LabVIEW实验例程(STM32 USB)
- NRF24L01(2.4G射频)可用例程
- Keil.STM32F1xx_DFP.2.3.0 支持包.rar
- STM32F103C8T6+SPWM三相六路互补输出+死区
- Stm32CubeMX中文说明书
- Keil.STM32F1xx_DFP.2.3.0安装包和说明书.
- 零死角玩转STM32—F103霸道.pdf
- stm32f4xx+freeRTOS+LWIP移植
- STM32F4可调电子时钟系统课程设计
评论
共有 条评论