1.以pinStandby_CC1310_LAUNCHXL_tirtos_ccs为例,例程是怎么配置时钟的,哪里配置了分频数,以及各个时钟的频率?
2.sleep()和Power_sleep()在使用时有什么区别?
3.当单片机进入standby之后,是怎么唤醒的?没有看到对RTC的配置?
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.
您好,
clocks 和所有事件都由 power driver 和不同外设的 drivers 负责,你不应该在你的 application 中考虑这一点。
您应该使用 sleep 或 usleep。
当您处于待机状态时,设备可以在中断时、给定时间后或计划事件时唤醒。
在 pinStandby 示例中,它在 standbyDuration 秒后唤醒:sleep(standbyDuration);
在 pinInterrups 示例 (pinInterrupt.c) 中,您在中断时唤醒,在 rfWakeOnRadioRx.c 中,我们使用 RX 命令的绝对开始时间来确定何时进入 RX 模式,然后电源驱动程序确保设备在其余时间处于待机状态。
另请参阅以下内容: