MATLAB Link for Code Composer Studio Development Tools | ![]() ![]() |
Initiate a reset of the target processor
Syntax
Description
reset(cc,timeout)
stops program execution on the target processor and asynchronously performs a processor reset, returning all processor register contents to their power up settings. The reset
function returns after the processor halts. To allow you to determine how long reset
waits for the processor to halt, input option timeout
lets you set the waiting period in seconds. After you use reset
, the routine returns after the processor halts or after timeout
seconds elapses, whichever comes first.
reset(cc)
stops program execution on the target processor and asynchronously performs a processor reset, returning all processor register contents to their power up settings. The reset
function returns after the processor halts. reset
uses the global timeout setting defined in cc
to determine how long to wait for the processor to halt before returning. Use get
to examine the global timeout value for the link.
Use run
to restart the program loaded on the target.
Compare to halt
which does not reset the processor after the program stops running.
![]() | remove | reshape | ![]() |