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.

C6678定时器timer的获取的Hi以及Lo两个寄存器的值都是零?



想用64bit的timer来统计程序运行时间,对timer进行了如下操作:程序如附件。不管添加多少条测试语句asm(“ nop 8 ”),读到的countLo以及countHi的值始终为零。请问程序要怎么修改啊。 非常感谢。所有的函数都是csl_tmr.h以及csl_tmrAux.h里的。库添加了,所以编译完全没问题。