文件名称:IWDG
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:21.99kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本例程测试了独立看门狗的使用。
程序运行时,液晶屏上会显示:
STM32F10x DEMO
IWDG TEST
通过使用SysTick中断按照250ms周期性更新IWDG计数器,每次更新的时候L1闪烁一次。使用外部中断7来模拟一次软件失败,按K1将产生一次外部中断7,
因为外部中断7的优先级比EWI优先级高,所以将会导致SysTick中断没有响应,IWDG计数器没有被重载,将出现重置事件,发生重置之后如果按K5来重置程序,L3将被点亮.
-This routine tests the use of the independent watchdog. When the program is running, will be displayed on the LCD screen: The STM32F10x DEMO the IWDG, the TEST accordance with 250ms periodic update the IWDG counter, each update by using the SysTick L1 flashes once. Using an external interrupt to simulate a software failure, the K1 will produce an external interrupt 7, because the external interrupt priority level higher than the EWI priority, so will cause the SysTick interrupt no response, the IWDG, the counter is not overloaded, will appear Reset event K5 to reset the program after a reset occurs, L3 is lit.
程序运行时,液晶屏上会显示:
STM32F10x DEMO
IWDG TEST
通过使用SysTick中断按照250ms周期性更新IWDG计数器,每次更新的时候L1闪烁一次。使用外部中断7来模拟一次软件失败,按K1将产生一次外部中断7,
因为外部中断7的优先级比EWI优先级高,所以将会导致SysTick中断没有响应,IWDG计数器没有被重载,将出现重置事件,发生重置之后如果按K5来重置程序,L3将被点亮.
-This routine tests the use of the independent watchdog. When the program is running, will be displayed on the LCD screen: The STM32F10x DEMO the IWDG, the TEST accordance with 250ms periodic update the IWDG counter, each update by using the SysTick L1 flashes once. Using an external interrupt to simulate a software failure, the K1 will produce an external interrupt 7, because the external interrupt priority level higher than the EWI priority, so will cause the SysTick interrupt no response, the IWDG, the counter is not overloaded, will appear Reset event K5 to reset the program after a reset occurs, L3 is lit.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
IWDG/IWDG.opt.bak
IWDG/IWDG.Uv2.bak
IWDG/IWDG.uvopt
IWDG/IWDG.uvproj
IWDG/IWDG_uvopt.bak
IWDG/LCD.c
IWDG/LCD.h
IWDG/main.c
IWDG/output/release.plg
IWDG/output/release.sct
IWDG/output/release.tra
IWDG/readme.txt
IWDG/stm32f10x_conf.h
IWDG/stm32f10x_it.c
IWDG/stm32f10x_it.h
IWDG/output
IWDG
IWDG/IWDG.Uv2.bak
IWDG/IWDG.uvopt
IWDG/IWDG.uvproj
IWDG/IWDG_uvopt.bak
IWDG/LCD.c
IWDG/LCD.h
IWDG/main.c
IWDG/output/release.plg
IWDG/output/release.sct
IWDG/output/release.tra
IWDG/readme.txt
IWDG/stm32f10x_conf.h
IWDG/stm32f10x_it.c
IWDG/stm32f10x_it.h
IWDG/output
IWDG
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.