资源简介
1、适用于STM32RCT6最小系统板,SW-420常闭型震动传感器模块(工作电压3.3--5V,驱动电流>15mA)
2、具有看门狗防死机功能
3、具有查询或中断两种方式,使用查询方式时按键的NVIC_Init函数需屏蔽(中断方式效果更好)
4、通过滑动变阻器调节感应灵敏度,金属点一侧为高灵敏度(分压电阻小)
代码片段和文件信息
/**************************************************************************//**
* @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 19、Vibration\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 19、Vibration\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 19、Vibration\CORE\startup_stm32f10x_hd.s
文件 1599 2018-12-21 10:42 19、Vibration\HARDWARE\delay.c
文件 175 2015-09-28 15:18 19、Vibration\HARDWARE\delay.h
文件 1338 2018-11-23 11:17 19、Vibration\HARDWARE\led.c
文件 609 2018-12-20 11:57 19、Vibration\HARDWARE\led.h
文件 1415 2018-12-29 10:29 19、Vibration\HARDWARE\sw420.c
文件 291 2018-12-26 13:27 19、Vibration\HARDWARE\sw420.h
文件 1372 2018-12-26 11:02 19、Vibration\HARDWARE\timer3.c
文件 317 2018-07-27 11:38 19、Vibration\HARDWARE\timer3.h
文件 3730 2019-01-17 10:31 19、Vibration\HARDWARE\usart1.c
文件 391 2019-01-17 10:31 19、Vibration\HARDWARE\usart1.h
文件 1705 2017-09-26 14:33 19、Vibration\HARDWARE\watchdog.c
文件 272 2016-09-02 15:11 19、Vibration\HARDWARE\watchdog.h
文件 80027 2018-12-26 13:32 19、Vibration\Jli
文件 573 2016-07-28 16:34 19、Vibration\Jli
文件 348827 2018-03-21 14:22 19、Vibration\OBJ\adc1.crf
文件 1571 2018-03-21 14:22 19、Vibration\OBJ\adc1.d
文件 381548 2018-03-21 14:22 19、Vibration\OBJ\adc1.o
文件 3662 2019-01-18 15:47 19、Vibration\OBJ\core_cm3.crf
文件 112 2019-01-18 15:47 19、Vibration\OBJ\core_cm3.d
文件 10784 2019-01-18 15:47 19、Vibration\OBJ\core_cm3.o
文件 348481 2019-01-18 15:47 19、Vibration\OBJ\delay.crf
文件 1572 2019-01-18 15:47 19、Vibration\OBJ\delay.d
文件 380968 2019-01-18 15:47 19、Vibration\OBJ\delay.o
文件 353728 2018-12-20 09:53 19、Vibration\OBJ\dht11.crf
文件 1712 2018-12-20 09:53 19、Vibration\OBJ\dht11.d
文件 386732 2018-12-20 09:53 19、Vibration\OBJ\dht11.o
文件 348484 2018-08-01 10:17 19、Vibration\OBJ\dma.crf
............此处省略194个文件信息
- 上一篇:HC-SR04超声波测距模块STM32源码
- 下一篇:船舶阻力和螺旋桨计算
相关资源
- HC-SR04超声波测距模块STM32源码
- 基于stm32的无线数据传输
- 微信小游戏《守卫竹林》线上游戏源
- 微信小游戏《果蔬去哪了》线上游戏
- stm32 8266 局域网 控制灯的开关
- O2O订餐系统仿饿了么网站源码+支付宝
- stm32f103x双串口间相互通讯基础版
- zw_STM32F107参考手册中文版.zip
- zw_C多线程进度条源码.zip
- .net经典ERP管理系统完整源码(多层架
- net自动排课系统完整源码(适合智慧
- .net财务管理系统完整源码2019
- .net版本非常好看的留言板源码Metro风
- .net完整版本办公管理OA系统源码
- .net企业门户网站完整源码适合科技企
- 非常好看的Metro风格留言板源码,可直
- .net自动排课系统完整源码(适合智慧
- STM32对接机智云
- CE源码制作属于自己的CE
- 串口与蓝牙串口stm32f103C8T6通用系列
- 4379262zw_完整的通讯录项目源码.zip
- 2016年电设省赛题目和资料.rar
- 电机驱动程序基于STM32F1
- 基于STM32F1循迹小车源码
- 基于STM32F1全向轮小车控制代码
- 基于STM32F4控制步进电机代码
- 河南大学计算机网络综合实验源码加
- STM32 PMSM FOC SDK 4.3 Getting Started
- STM32电梯.7z
- ios应用源码之第一个iphone小程序实现
评论
共有 条评论