![]() ZBasic System Library
210
ZBasic Microcontrollers
mega161, mega163, mega323, mega165, mega165A, mega165P, mega165PA
15mS
0-7
2 sec
mega325, mega325P, mega645, mega645A, mega645P, mega169, mega169A,
mega169P, mega169PA, mega329, mega329P, mega329PA, mega649,
mega649A, mega649P, mega3250, mega3250P, mega6450, mega6450A,
mega6450P, mega3290, mega3290P, mega6490, mega6490A, mega6490P
16mS
0-7
2 sec
mega1281, mega2561, mega640, mega1280, mega2560
16mS
0-9
8 sec
mega8U2, mega16U2, mega32U2, AT90USB82, AT90USB162
32mS
0-9
16 sec
mega16U4, mega32U4, AT90CAN32, AT90CAN64, AT90CAN128,
AT90USB646, AT90USB647, AT90USB1286, AT90USB1287
16mS
0-7
2 sec
all xmega
8mS
0-10
8 sec
When the processor is reset, the register value Register.ResetFlags contains bit flags indicating the
source of the reset. It is important to note that the occurrence of a system fault (e.g. a stack overflow) will
also cause a WatchDog reset as will calling ResetProcessor(). See the section on Run Time Stack
Checking in the ZBasic Reference Manual for more information on stack overflow detection.
The watchdog timer can be turned off using CloseWatchDog.
Compatibility
BasicX doesnt support Register.ResetFlags or CloseWatchDog.
See Also
|