run.m
来自「一个MATLAB的应用程序」· M 代码 · 共 32 行
M
32 行
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 + =
减小字号Ctrl + -
显示快捷键?