📄 run.m
字号:
function dummy = run(cc,runopt,timeout)
%RUN initiate execution of target DSP
% RUN(CC,OPTION,TIMEOUT) initiates execution of the target DSP
% processor from the present program counter(PC) location.
% After starting execution of the DSP, the OPTION parameter
% will determine when control is returned to the user.
%
% OPTION parameter defines the action of the RUN method.
% 'run' (default) - executes a run and waits to confirm
% that the DSP is running, then immediately returns.
% 'runtohalt' - executes a run but then waits until the DSP
% processor has halted. The halt can be caused by a
% breakpoint, or direct interaction with Code Composer
% Studio(tm), or finally by a normal program exit.
% 'tohalt' - This option will wait for the DSP processor to
% complete execution to halt. Unlike the two options
% this selection does not directly modify the action
% of the processor, but simply waits it's state to change.
% The halt can be caused by a breakpoint, or direct
% interaction with Code Composer Studio(tm), or finally
% by a normal program exit.
%
% TIMEOUT defines an upper limit (in seconds) on the period this
% routine will wait for completion of the specified action.
% If this period is exceeded, the routine will immediately return
% with a timeout error. In general, the 'run' and 'runtohalt'
% options will cause the processor to initiate execution, even
% when a timeout is reached. The timeout simply indicates the
% confirmation was not received before the timeout period expired.
% Copyright 2002 The MathWorks, Inc.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -