__hwJetResetWithStrategy
Syntax
__hwJetResetWithStrategy(halt_delay,strategy)
Parameters
halt_delayThe delay, in milliseconds, between the end of the reset pulse and the halt of the CPU. Use
0(zero) to make the CPU halt immediately after reset—only whenstrategyis set to0.strategyThe reset strategy number. For information about supported reset strategies, see ‑‑jet_standard_reset.
Return value
Result | Value |
|---|---|
Successful. The delay feature is not supported by the debugging probe |
|
Unsuccessful. The reset strategy is not supported by the debugging probe |
|
Unsuccessful. Other |
|
For use with
The C-SPY I-jet driver.
Description
Specifies the reset strategy to perform.
Example
__hwJetResetWithStrategy(0,2)
Performs a hardware reset.
Note
User-defined millisecond timeouts and delays are generated using the host operating system clock ticks. Because the host operating system is not a real-time OS, the actual delay or timeout will vary each time with approximately 5–20 ms.