Page 18 of 346 Start Back Next End ZBasic System Library 6 ZBasic Microcontrollers Miscellaneous Routines CloseWatchDog() deactivate the watchdog timer CPUSleep() cause the CPU to go into sleep mode CRC16() compute a 16-bit CRC value CRC32() compute a 32-bit CRC value FirstTime() determine if this is the first the program has been run since downloading GetMicroTime() populate a buffer with higher precision timing information GetElapsedMicroTime() determine the elapsed time relative to previous time information IIf() select the value of one of two expressions LBound() determine the lower bound of an array LongJmp() perform a non-local goto (e.g. for exception handling) NoOp() execute a “nop” instruction OpenWatchDog() activate the watchdog timer ParityCheck() check the parity of a data byte Randomize() initialize the random number generator ResetProcessor() reset the CPU Rnd() retrieve the next random number SerialNumber() retrieve the system software serial number SetJmp() prepare for a non-local Goto (e.g. exception handling) SizeOf() determine the size of a data item SizeOfU() determine the size of a data item Span() determine the number of elements in an array dimension System.DeviceID() retrieve the identification characters for the device UBound() determine the upper bound of an array WatchDog() reset the watchdog timer ZXCmdMode() activate the “command mode” (for downloading)