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.
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?
The C language specifically allows you to create a pointer to a structure whose definition is not visible.
Thanks and regards,
-George