请问 STANDBY模式 这样设对吗?
请问 STANDBY模式 这样设对吗?问题1:
//PA0设为输入
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPD;
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0;
GPIO_Init(GPIOA, &GPIO_InitStructure);
PWR_WakeUpPinCmd(ENABLE); //enable WAKE
PWR_EnterSTANDBYMode(); //进入STANDBY模式
请问是否这样设定就可进入STANDBY?
然後当PA0的到1个脉冲时,离开STANDBY?
2.当mcu离开STANDBY,程式会由哪里开始执行?
[
页:
[1]