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.

C6670下的timer中的Timer_getCount



我在测试c6670的timer的API时,发现一个问题,在ccs 里的help文档里说到Timer_getCount的入参是先前创建的timer生成的timerHandle,将会返回计数器里的值,可是,经过测试我发现只要我传入的是一个地址(为NULL或者经过(Timer_Handle)强制转换的任意一个变量的地址),都可以调用Timer_getCount得到一个数,而且这个数会不断的增加,好像我已经创建了一个计时器一样(事实上,我并没有创建什么计时器)。请问这是怎么回事?