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.

调C2000的launchpad遇到一点问题,关于CPU TIMER的,在函数库中有个TIMER_reload()函数。。。



我想用F28027的CPU Timer做一个计时,由外部中断控制计时开始和停止。每次中断后,希望重新开始计数,就是清除当前计数器的计数值,重新载入初始值,我看了一下,这个函数TIMER_reload(),可以自动重新载入初始值,可是为什么我调用了之后,不能在进入中断后就立即载入初始值,貌似要等到当前周期计数完成,才能载入。。。难道是芯片本身决定的,还是我没有配置好?