Synopsis
TargetInterface.resetAndStop(delay)
Description
TargetInterface.resetAndStop resets the target by cycling nSRST and then stops the processor. The delay parameter specifies the number of milliseconds to hold the nSRST signal. This function allows the processor to run for a period of time before the processor is stopped which may cause unpredictable behaviour as the processor may be left in an undefined state if it has been allowed to start up from reset.