Download CodeVisionAVR User Manual - La documentation de Thierry

Transcript
CodeVisionAVR
The Timeout Action list box allows to specify what action will be performed on watchdog timer
overflow:
•
•
•
hardware Reset
Interrupt only
Interrupt and then hardware Reset.
If interrupt generation is enabled, the wdt_timeout_isr interrupt service function will be created.
In case the watchdog timer is enabled, you must include yourself the appropriate code sequences to
reset it periodically. Example:
#asm("wdr")
For more information about the watchdog timer you must consult the Atmel data sheet for the chip that
you use.
© 1998-2015 HP InfoTech S.R.L.
Page 567