4.5 CHIP
4.5.1
CHIP_6XXX
Constant
Description
Example
Current chip identification symbols
CHIP_6201
CHIP_6202
CHIP_6203
CHIP_6204
CHIP_6205
CHIP_6211
CHIP_6211X
CHIP_6701
CHIP_6711
These are the current chip identification symbols. They are used
throughout the CSL code to make compile-time decisions. When using
the CSL, it is up to the user to define one and only one of these sym-
bols. This is necessary because one common set of CSL header files is
used for all versions of the library. These header files might define
things differently, depending on the device. So, before including any
CSL header files, you must define which device is being used. This can
be done at the compiler command line by using the –d option, or if us-
ing Code Composer Studio , in the " Project–>Options–>Compiler–>Pre-
processor–>Define Symbols " dialog.
You may also use these symbols to perform conditional compilation.
i.e.
#if (CHIP_6201)
/* user CHIP configuration for 6201 /
#elif (CHIP_6211)
/ user CHIP configuration for 6211 */
#endif
cl6x –dCHIP_6201 mycode.c
CSL API Reference
CHIP
4-19
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?