This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS320F280049: Why some of variables in C2000ware example don't need declarations, and no header files is included without any compiler error?

Part Number: TMS320F280049

Tool/software: TI C/C++ Compiler

Dear expert:

A problem was discovered by accident, which makes me confused.When I added the f28004x_cputimervars.h into the demos project files of TMS320F280049, the following code:

struct CPUTIMER_VARS {

volatile struct CPUTIMER_REGS *RegsAddr;
Uint32 InterruptCount;
float CPUFreqInMHz;
float PeriodInUSec;
};


I found that the variable of  struct CPUTIMER_REGS *RegsAddr  was not declared before use, And  the  f28004x_cputimervars.h doesn't include any other header files. But when I started to compile the file, the result is OK, Why?