245 of 318
ZBasic System Library 235 ZX Microcontroller Family ResetProcessor Type Subroutine Invocation ResetProcessor() Discussion Calling this routine will cause a WatchDog reset of the processor within 40ms. When the processor begins running again, the value of Register.ResetFlags will indicate that a WatchDog reset has occurred. If you need to be able to distinguish between an actual WatchDog reset and a call to ResetProcessor() it is recommended that you define a persistent variable and set its value to indicate the source of the reset. Compatibility BasicX does not support Register.ResetFlags.