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.
您好,这是osal_run_system函数的流程图,请问在执行osal_run_system中其他函数如osalTimeUpdate();以及Hal_ProcessPoll();等时,这时候芯片进入sleep了吗?也就是说,假如现在什么事件也没有,只有周期性的主从机之间用于确认保持连接的通信事件,那么比如osalTimeUpdate();这个更新系统时间的函数,它是周期性的一直在运行着,还是说等到一个主从机之间的保持连接通信事件发生时,芯片唤醒,然后一次性的更新时间?望解答,多谢!
zhengtao,
osalTimeUpdate();以及Hal_ProcessPoll() 运行的时候,说明timer 在跑,说明系统最多只能进入PM2 模式。
osalTimeUpdate() 是由timer2 触发的周期性事件。