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.

DSP2833x_CpuTimer.c文件中ConfigCpuTimer()函数中Freq * Period的含义

DSP2833x_CpuTimer.c文件中ConfigCpuTimer()函数中Freq 是代表频率吗,Period是周期吗,如果是,他们乘积不是该始终未1吗?

// Initialize timer period:
Timer->CPUFreqInMHz = Freq;
Timer->PeriodInUSec = Period;
temp = (long) (Freq * Period);
Timer->RegsAddr->PRD.all = temp; 这个对PRD赋值,为什么不直接设置级数次数,而用Freq * Period来设置?