ccsdsp.m
来自「一个MATLAB的应用程序」· M 代码 · 共 46 行
M
46 行
function cc = ccsdsp(varargin)
%CCSDSP create a link to the Texas Instruments Code Composer(tm) IDE.
% CC = CCSDSP('PropertyName',PropertyValue,...) returns an object
% which is used to communicate with a DSP target processor. This
% handle can be used to access memory and control the execution of
% the target DSP processor. All communication is handled by the
% Code Composer Studio(tm) IDE application. The resulting object
% CC refers to a single DSP processor. Thus, multiprocessor system
% will require a separate handle to refer to different processors.
%
% All passed parameters are interpreted as object property
% definitions. Each property definition consists of a property
% name followed by the desired property value. Althougth any CC
% object property can be defined during this initialization, there
% are several important properties that MUST be provided during the
% initial call. Therefore, these must be properly delinated when
% the object is created. After the object is built, these values can
% be retreived with GET, but never modified.
%
% 'boardnum' - The index of the desired DSP board. The resulting
% object CC refers to a DSP processor on this board. Use the
% CCSBOARDINFO utility to determine the number for the desired
% DSP board. If the user's Code Composer is defined to support
% only a singled board, this property definion can be skipped.
% If the property is not passed by the user, the object will
% default to boardnum 0 (zero-based).
%
% 'procnum' - The index of the desired DSP processor on the DSP board
% selected with the 'boardnum' property. Use the CCSBOARDINFO
% utility to determine the number for the desired DSP processor.
% If the user's Code Composer is defined to support only a singled
% processor on the board, this property definion can be skipped.
% If the property is not passed by the user, the object will default
% to procnum 0 (zero-based).
%
% Example:
% >target = ccsdsp('boardnum',1,'procnum',0); will return a handle
% a handle to the first DSP processor on the second DSP board.
%
% CCSDSP without any passed arguments will construct the object with the
% default property values.
%
% See also CCSBOARDINFO, RTDX, GET, SET.
% Copyright 2002 The MathWorks, Inc.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?