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.

请问各位老师zigbee2007中有HalTimerTick这个函数?

各位老师;

         请问下HalTimerTick只有接口没有实体能看到吗?还有怎么每一毫秒产生一次计数而不影响其他的工作 啊?

  • 你用的是哪个协议栈版本?

    现在的协议栈里面HalTimerTick这个函数没有使用,现在协议栈里面时间Update是通过osalTimeUpdate函数来实现的,这个函数通过抖Timer 2的计数器值来增加系统的Running时间。

    因为Time 2的是计数频率是固定,所以进入这个函数时对Timer2 进行两次读数,他们的差值,就是系统运行的时间。