当打开powersaving时,系统会进入pm2或者pm3状态,而外部中断(如keypress)可以唤醒设备,请问一下,当配置好外部中断时,按下按键就会自动唤醒设备吗?不用在中断程序里设置sleepcmd和pcon吗?据我知道进入低功耗sleepcmd和pcon两个寄存器都会设置相关的值,中断唤醒不会改变他们的值吗?
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.
建议你可以参考keyfob 工程里面的按键IO 中断触发唤醒PM3 直接进入广播的代码,有现成的。