Page 215 of 346 Start Back Next End ZBasic System Library 203 ZBasic Microcontrollers 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 doesn’t support Register.ResetFlags or CloseWatchDog. See Also WatchDog, CloseWatchDog, ResetProcessor