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.

CC1310: task_sleep(1)

Part Number: CC1310

HI,

       使用task_sleep(1),测试下来时间190us左右,task_sleep的单位是10us,为什么1会是190us呢 ,

谢谢

  • 您好,

    Task_sleep是让出对MCU的占用,可以让其他task得到执行或者执行idle task从而进入低功耗状态。它的计时单位是systick,默认为10us。

    您是在什么条件下使用的task_sleep(),能提供相应的修改部分代码吗?

    还有相关的SDK或者使用的示例。