watchdog(ICC)

所属分类:单片机开发
开发工具:C/C++
文件大小:19KB
下载次数:3
上传日期:2012-07-26 20:44:23
上 传 者littlezz
说明:  1、观察喂狗与不喂狗的区别,使用PB口的LED指示灯做状态指示。 2、养看门狗的用意,在于用它监控系统:在程序本该运行的地方喂狗,如果程序卡死或跑 飞,将不会运行到那,那样狗没有被喂到,饿死了,控制器复位,得以重启从而进行控制。 3、本实验演示功能:养一只AVR内部看门狗,及时喂狗,狗不饿死,单片机不复位;不及时 喂狗,狗饿死了,单片机就复位。 4、本实验的程序设计较为简单,旨在给出养狗、喂狗,不让狗饿死的简单示例。 实际应用时考虑情况较多,要注意什么时候喂狗,放狗。
(1, observed to feed the dog and not feed the dog the difference between the LED using the PB I do a status indication. 2, the intention of raising watchdog is to monitor the system to use it: the place of the program running to feed the dog, If the program is stuck or running out, will not run to that, as the dog is not fed to starved to death controller reset, able to restart in order to be controlled. 3, the experimental demonstration of function: raising an AVR internal watchdog, in a timely manner to feed the dog, the dog does not starve to death, the MCU is not reset not in time to feed the dog, the dog starved to death, the microcontroller reset. 4, the program design of this experiment is relatively simple, designed to give a dog, feed the dog a simple example, let the dog starve to death. Practical applications to consider the situation more, pay attention to what time to feed the dog, and dogs.)

文件列表:
watchdog(ICC) (0, 2009-11-24)
watchdog(ICC)\dalay.c (947, 2012-07-26)
watchdog(ICC)\dalay.dp2 (10, 2009-03-31)
watchdog(ICC)\dalay.lis (5375, 2009-03-31)
watchdog(ICC)\dalay.o (1056, 2009-03-31)
watchdog(ICC)\dalay.s (2459, 2009-03-31)
watchdog(ICC)\wdt.c (2611, 2012-07-26)
watchdog(ICC)\WDT.cof (1948, 2009-03-31)
watchdog(ICC)\WDT.dbg (1067, 2009-03-31)
watchdog(ICC)\wdt.dp2 (66, 2009-03-31)
watchdog(ICC)\WDT.hex (658, 2009-03-31)
watchdog(ICC)\wdt.lis (7361, 2009-03-31)
watchdog(ICC)\WDT.lk (16, 2009-03-31)
watchdog(ICC)\WDT.lst (6488, 2009-03-31)
watchdog(ICC)\WDT.mak (646, 2009-03-31)
watchdog(ICC)\WDT.mp (1168, 2009-03-31)
watchdog(ICC)\wdt.o (1123, 2009-03-31)
watchdog(ICC)\WDT.prj (999, 2009-03-31)
watchdog(ICC)\wdt.s (4054, 2009-03-31)
watchdog(ICC)\WDT.SRC (49, 2009-08-31)
watchdog(ICC)\wdt._c (2713, 2009-03-31)

近期下载者

相关文件


收藏者