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.

想询问一下CC2640R2时钟问题:Util_constructClock

各位大侠好,

最近遇到一个问题,关于Util_constructClock

我在给CC2640R2建立时钟的时候,在Simple_Peripheral.c中如这样写

Util_constructClock(&periodicClock, SimpleBLEPeripheral_clockHandler, 100, 0, false, NULL);

将会1秒执行10个时钟周期,

但如果

Util_constructClock(&periodicClock, SimpleBLEPeripheral_clockHandler, 1, 0, false, NULL);

1秒钟则无法执行1000个时钟周期。

请问一下我将时钟定为1毫秒时,CC2640R2实际消耗的时间为多长?

注:时钟周期内部没有复杂运算。只有简单的几个赋值加减。

谢谢