카테고리 없음
2013. 8. 16. 21:54
AVR / Atmega watchdog - 워치독
Using watchdog timer in your projects
http://www.embedds.com/using-watchdog-timer-in-your-projects/
지정된 시간내에 리세하지 않으면 시스템을 리셋시키는 개...
Watchdog Interrup를 사용하면 또는 정해진 시간마다 깨어나서 작동후 다시 잠들게 할수 있다
http://tushev.org/articles/arduino/item/46-arduino-and-watchdog-timer
AVR132: Using the Enhanced Watchdog Timer - Atmel Corporation
www.atmel.com/Images/doc2551.pdf - 이 페이지 번역하기
Rev. 2551C-AVR-06/08. 1 Introduction. “Well designed watchdog timers fire off every day, quietly saving systems and lives without the esteem offered to humanFirst of all, you need to include corresponding header file:
#include <avr/wdt.h>
In the next step we should enable WDT as well as configure it:
wdt_enable(WDTO_2S);
In most cases you'll have to put that line to init(){} section, however, Watchdog timer may be enabled at any moment.
==============================================
You may also like -
Playing with voltage controlled oscillator based on Attiny25Alex wanted to see frequency impact on different components. First of all he built a voltage controlled oscillator using couple of op amps. But ...DIY heater controller replaces old oneViktor's home heater controller stooped working and instead of purchasing new one he decided to build one. The controller actually is nothing more than ...Automatic watering may save your plants when you're outSometimes you simply need to leave your garden for some time, but you don't want to loose all plants that you've been taken care ...The Innovative Midea Air Conditioner TimerCould you ever imagine what is going to happen on the people inside a house, when the central air conditioning system is suddenly broken ...