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.

TMS320F28027时钟初始化的问题

Other Parts Discussed in Thread: CONTROLSUITE

我把例程中f2802x_sysctrl.c中的InitSysCtrl函数中的

// Select Internal Oscillator 1 as Clock Source (default), and turn off all unused clocks to
// conserve power.
IntOsc1Sel();

改成使用外部晶振:

XtalOscSel();

就是编译不通过

编译错误信息显示:

#161 declaration is incompatible with previous "XtalOscSel" (declared at line 60) f2802x_sysctrl.c /Inverter line 389 C/C++ Problem

真是奇了怪了,用IntOsc1Sel()或者IntOsc2Sel()都没问题,这是怎么回事呢?