资源简介
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个文件信息
相关资源
- 利用OV7725照相机与STM32F1识别车牌
- 基于STM32的小车红外黑线寻迹代码
- stm32图像采集+QT上位机源码
- STM32,5110液晶显示声纳探鱼器200KHz,
- stm32iap+bootloader+app+mfc上位机
- BMP180气压计STM32例程+51例程+数据手册
- STM32实现俄罗斯方块游戏C语言
- keil基于stm32的模拟交通灯项目源码+文
- STM32F4超声波测距
- HDC1080驱动 温湿度 STM32 IIC I2C
- 语音识别STM_C语言代码
- STC15单片机ESP8266开发试验程序含原理
- 步进电机控制程序175063
- STM32F030无刷电机驱动程序
- STM32 RTC+LCD12864 实时时钟和闹钟实验
- STM32仿造FX3U-14MT-2AD2DA1CAN.rar
- libusb bulk传输 STM32上位机程序
- STM32 USB BULK
- STM32驱动NRF24L01的视频传输
- 嵌入式实时操作系统μC/OS-III(英文
- ALIENTEK 战舰STM32开发板最新例程
- 基于STM32的LED显示控制板卡驱动及GU
- FPGA nios驱动LCD12864实现uart以及菜单功
- stm32 上下位机通信
- STemWin无操作系统移植-(STM32)
- 零死角玩转STM32—F103MINI(图文高清版
- STM32工程模板
- stm32实现MODBUS-MODBUS做主站
- STM32 DMX512协议与485 W5500 户外钢琴地灯
- STM32F10x中文参考手册
评论
共有 条评论