请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC2340R5 主题中讨论的其他器件: SysConfig
我如何在 CC2340R5中激活深度睡眠模式。 您能否为我提供激活深度睡眠模式的示例代码。 唤醒示例代码。 我在 simplelink_lowpower_f3_sdk_7_10_00_35中未找到任何示例代码。
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.
Ankit、您好!
对于 CC2340R5、深度睡眠模式是一种系统 CPU 模式、由 TI 电源驱动器 API 管理、不能直接操作。 深度睡眠模式与待机模式等效、可以通过以下定义激活和唤醒(在 PowerCC23X0.h 中):
/*!<电源事件:设备正在进入待机休眠状态*/
#define PowerLPF3_ENTERING_STANDBY (1 << 0)
/*!<电源事件:设备从待机休眠状态唤醒*/
#define PowerLPF3_WAKE_STANDBY (1 << 2)
您还可以进入 sysconfig 文件获取示例、并在 TI 驱动程序电源下、将电源策略设置为"PowerCC23X0_standbyPolicy"。
此致!
大卫