Here is a snippet of code:
{
unsigned int TempInt32;
TempInt32 = CSR; /* read the TMS320C6678 Control Status Register */
...
}
The following command is invoked by CCS (version 5.4.0.00091) to compile the file:
D:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv6600 filename.c
The compiler reports the following error:
"filename.c", line n: error #20: identifier "CSR" is undefined
Shouldn't the compiler recognize "CSR"? How can I eliminate this compiler error?