资源简介
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个文件信息
相关资源
- RK3399 DEMO官方原厂 PCB 原理图以及周边
- 黎曼几何初步 伍鸿熙
- STM32 LCD12864并口驱动实验
- 简单的ssh框架实现增删改查
- 医院后勤管理系统
- 8086交通灯 Proteus原理图及程序
- 云计算概述PPT128419
- MQTT推送Demo
- 电磁场与电磁波 谢处方
- 完整的雷达系统仿真程序
- st foc 2.0 中文手册
- 学生学籍管理系统web
- QQ盗号源码(可用)
- 376.1报文解析工具
- AB PLC 通讯协议
- 51单片机大量源码
- 送给女朋友的代码
- 冰点器,支持百度文库、豆丁、道巴
- PLC通讯与接口
- 自适应滤波amp;LMS算法
- 安卓记事本源代码,详细。
- 个人博客系统+文档
- 机票系统-机票查询机票预订
- MFC的学生管理系统
- 汽车租赁网站(毕业设计源代码)
- 通用进销存管理系统系统毕业设计论
- verilog 4×4矩阵键盘
- PUBG雷达透视网页版搭建教程(自带加
- 基于Linux、QT的视频监控系统的设计与
- 自动避障与自主航路规划文章及代码
评论
共有 条评论