资源简介
STM32 电子密码锁设计,初始密码为123456。可以设定密码,3次输错将停止1分钟并提示。输入正确后,通过继电器开锁,并显示。修改密码时,需要第二次输入确认。
密码存于后备区,掉电或复位均不丢失!!
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f10x.c
* @author MCD Application Team
* @version V3.4.0
* @date 10/15/2010
* @brief CMSIS Cortex-M3 Device Peripheral Access layer System Source File.
******************************************************************************
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* © COPYRIGHT 2010 STMicroelectronics
******************************************************************************
*/
/** @addtogroup CMSIS
* @{
*/
/** @addtogroup stm32f10x_system
* @{
*/
/** @addtogroup STM32F10x_System_Private_Includes
* @{
*/
#include “stm32f10x.h“
/**
* @}
*/
/** @addtogroup STM32F10x_System_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @addtogroup STM32F10x_System_Private_Defines
* @{
*/
/*!< Uncomment the line corresponding to the desired System clock (SYSCLK)
frequency (after reset the HSI is used as SYSCLK source)
IMPORTANT NOTE:
==============
1. After each device reset the HSI is used as System clock source.
2. Please make sure that the selected System clock doesn‘t exceed your device‘s
maximum frequency.
3. If none of the define below is enabled the HSI is used as System clock
source.
4. The System clock configuration functions provided within this file assume that:
- For Low Medium and High density Value line devices an external 8MHz
crystal is used to drive the System clock.
- For Low Medium and High density devices an external 8MHz crystal is
used to drive the System clock.
- For Connectivity line devices an external 25MHz crystal is used to drive
the System clock.
If you are using different crystal you have to adapt those functions accordingly.
*/
#if defined (STM32F10X_LD_VL) || (defined STM32F10X_MD_VL) || (defined STM32F10X_HD_VL)
/* #define SYSCLK_FREQ_HSE HSE_VALUE */
#define SYSCLK_FREQ_24MHz 24000000
#else
/* #define SYSCLK_FREQ_HSE HSE_VALUE */
/* #define SYSCLK_FREQ_24MHz 24000000 */
/* #define SYSCLK_FREQ_36MHz 36000000 */
/* #define SYSCLK_FREQ_48MHz 48000000 */
/* #define SYSCLK_FREQ_56MHz 56000000 */
#define SYSCLK_FREQ_72MHz 72000000
#endif
/*!< Uncomment the following line if you need to use external SRAM mounted
on STM3210E-EVAL board (STM32 High density and XL-density devices)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 57760 2011-05-13 10:12 电子密码锁设计\MDK4.01-STM32\Jli
文件 28973 2011-04-14 09:45 电子密码锁设计\MDK4.01-STM32\List\MDK4.map
文件 67567 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\List\MDK4_STM32.map
文件 61325 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\List\startup_stm32f10x_hd.lst
文件 19 2011-05-12 17:51 电子密码锁设计\MDK4.01-STM32\Obj\ExtDll.iex
文件 274027 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\lcd12864.crf
文件 1261 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\lcd12864.d
文件 327308 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\lcd12864.o
文件 272596 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\main.crf
文件 1197 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\main.d
文件 308232 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\main.o
文件 189 2011-04-14 14:49 电子密码锁设计\MDK4.01-STM32\Obj\MDK4.01_STM32.plg
文件 276332 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\MDK4_STM32.axf
文件 47299 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\MDK4_STM32.htm
文件 559 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\MDK4_STM32.lnp
文件 15836 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\MDK4_STM32.plg
文件 479 2011-05-12 15:19 电子密码锁设计\MDK4.01-STM32\Obj\MDK4_STM32.sct
文件 1814 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\MDK4_STM32.tra
文件 267046 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\misc.crf
文件 1307 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\misc.d
文件 290420 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\misc.o
文件 6340 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\startup_stm32f10x_hd.o
文件 267985 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\stm32f10x_bkp.crf
文件 1460 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\stm32f10x_bkp.d
文件 300680 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\stm32f10x_bkp.o
文件 267596 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\stm32f10x_exti.crf
文件 1477 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\stm32f10x_exti.d
文件 294772 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\stm32f10x_exti.o
文件 270537 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\stm32f10x_gpio.crf
文件 1477 2011-05-13 10:07 电子密码锁设计\MDK4.01-STM32\Obj\stm32f10x_gpio.d
............此处省略108个文件信息
相关资源
- STM32读CS1237实现秤重测量
- 基于STM32单片机的心率体温测量仪
- 基于STM32F103ZET6控制舵机旋转(ts90a/
- stm32f103zet6控制蓝牙小车
- STM32F407驱动OLED显示DS18B20数字温度
- vscode作为编辑器开发stm32f103c8
- STM32 多路PWM输出
- STM32烧写算法flash包
- STM32 LIN通信数据发送实现 测试通过
- FFT电流检测 stm32f4
- DS1302万年历设计 stm32
- 超声波定高(基于STM32)
- STM32(神舟III号 串口1发送实验程序)
- STM32 模拟信号采集
- STM32-ads1256
- STM32跑马灯实验58159
- STM32429的串口收发程序
- STM32连接EC20使用内置MQTT协议接入阿里
- ADS1256-STM32参考程序
- stm32 AD7506
- STM32F10实现照相功能照相机
- 基于STM32的嵌入式flash读写控制
- stm32f103c8t6开发板原理图+pcb
- STM32内部FLASH模拟eerom
- stm32的半导体除湿机程序
- stm32实现高精度频率测定
- stm32库函数代码自动生成器V1.2
- stm32 DMA例程
- stm32蓝牙小车
- 显示屏操作(stm32f103c8t6(SAN))
评论
共有 条评论