MATLAB Link for Code Composer Studio Development Tools    
info

Return information about the target processor

Syntax

Description

info = info(cc) returns the property names and property values associated with the processor targeted by cc. info is a structure containing the following information elements and values:

Structure Element
Data Type
Description
info.procname
String
Processor name as defined in the CCS setup utility. In multiprocessor systems, this name reflects the specific processor associated with cc.
info.isbigendian
Boolean
Value describing the byte ordering used by the target processor. When the processor is big-endian, this value
is 1. Little-endian processors return 0.
info.family
Integer
Three-digit integer that identifies the processor family, ranging from 000 to 999. For example, 320 for Texas Instruments digital signal processors.
info.subfamily
Decimal
Decimal representation of the hexadecimal identification value that TI assigns to the processor to identify the processor subfamily. IDs range from 0x000 to 0x3822. Use dec2hex to convert the value in info.subfamily to standard notation. For example
  • dec2hex(info.subfamily)
    
produces '67' when the processor is a member of the 67xx processor family.
info.timeout
Integer
Default timeout value MATLAB uses when transferring data to and from CCS. All functions that use a timeout value have an optional timeout input argument. When you omit the optional argument, MATLAB uses this default value--10s.

info = info(rx) returns info as a cell arraying containing the names of your open RTDX channels.

Examples

On a PC with a simulator configured in CCS IDE, info returns the configuration for the processor being simulated:

In this example, we are simulating the TMS320C6211 processor running in little-endian mode. When you use CCS Setup Utility to change the processor from little-endian to big-endian, info shows the change.

If you have two open channels, chan1 and chan2,

returns

where info is a cell array. You can dereference the entries in info to manipulate the channels. For example, you can close a channel by dereferencing the channel in info in the close function syntax.

See Also
ccsdsp, dec2hex, get, set


  halt insert