我想切换到延长睡眠模式,一旦电压接通电源,并唤醒和加载img1或img2的用户按下键。
如何更改DA14580扩展睡眠模式,并通过二次引导加载程序中的正交解码器唤醒。
我试图修改寄存器如下,但它似乎没有改变到睡眠模式。< span style = " font - family:宋体;"
SetBits16(PMU_CTRL_REG,外围_sleep, 1);//关闭外部电源域
SetBits16(SYS_CTRL_REG, RET_SYSRAM, 1);//保留System RAM
SetBits16(SYS_CTRL_REG, OTP_COPY, 0);//关闭OTP拷贝
SetBits16(CLK_16M_REG, XTAL16_BIAS_SH_ENABLE, 0);/ /设置偏差' 0 '如果睡眠已经决定< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / secondary-bootloader-sleep”typeof =“skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " >二级引导装载程序睡眠< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580 typeof =“skos:概念” property="rdfs:label skos:prefLabel" datatype="">DA14580