文件名称:WDG_TEST
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-06-08
- 文件大小:
- 27kb
- 下载次数:
- 0次
- 提 供 者:
- 杜*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本实验将实现如下功能:程序一运行则开启IWDG,并使得DS0常亮,在主循环里面不停的检测WK_UP按键是否按下,如果有按下,则喂狗,否则等待看门狗复位。看门狗复位可以看到DS0不停的闪烁。
注意:
1,该代码可以JTAG(SWD)下载,但是不支持仿真(仿真结果错误).
2,不要把1820和PA0的跳线帽跳上,否则可能导致按键"不灵".-The experiment will achieve the following functions: a running program is open IWDG, and makes DS0 lit, kept inside the main loop detection WK_UP button is pressed, if pressed, feed the dog, or wait watchdog reset. Watchdog reset can see DS0 stop flashing. Note: 1, the code can JTAG (SWD) download, but does not support the simulation (simulation error). 2, 1820, and not to jump on PA0 jumpers, otherwise it may cause the button " not working."
注意:
1,该代码可以JTAG(SWD)下载,但是不支持仿真(仿真结果错误).
2,不要把1820和PA0的跳线帽跳上,否则可能导致按键"不灵".-The experiment will achieve the following functions: a running program is open IWDG, and makes DS0 lit, kept inside the main loop detection WK_UP button is pressed, if pressed, feed the dog, or wait watchdog reset. Watchdog reset can see DS0 stop flashing. Note: 1, the code can JTAG (SWD) download, but does not support the simulation (simulation error). 2, 1820, and not to jump on PA0 jumpers, otherwise it may cause the button " not working."
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ALIENTEK MINISTM32 实验5 独立看门狗实验
.......................................\HARDWARE
.......................................\........\EXTI
.......................................\........\....\exti.c
.......................................\........\....\exti.h
.......................................\........\KEY
.......................................\........\...\key.c
.......................................\........\...\key.h
.......................................\........\LED
.......................................\........\...\led.c
.......................................\........\...\led.h
.......................................\........\WDG
.......................................\........\...\wdg.c
.......................................\........\...\wdg.h
.......................................\README.TXT
.......................................\SYSTEM
.......................................\......\delay
.......................................\......\.....\delay.c
.......................................\......\.....\delay.h
.......................................\......\sys
.......................................\......\...\sys.c
.......................................\......\...\sys.h
.......................................\......\usart
.......................................\......\.....\usart.c
.......................................\......\.....\usart.h
.......................................\USER
.......................................\....\STM32F10x.s
.......................................\....\TEST.Opt
.......................................\....\TEST.Uv2
.......................................\....\TEST.hex
.......................................\....\test.c
.......................................\keilkilll.bat