说错了,我用的是shutdown模式
WWDG_SetCounter(0);
PFIC_EnableIRQ(GPIO_A_IRQn); /* PA12 KEY PA13 USB PA10 TOUCHOUT*/
PWR_PeriphWakeUpCfg(ENABLE, RB_SLP_GPIO_WAKE, Edge_ShortDelay);
DelayMs(2);
LowPower_Shutdown(0);
HSECFG_Current(HSE_RCur_100);
说错了,我用的是shutdown模式
WWDG_SetCounter(0);
PFIC_EnableIRQ(GPIO_A_IRQn); /* PA12 KEY PA13 USB PA10 TOUCHOUT*/
PWR_PeriphWakeUpCfg(ENABLE, RB_SLP_GPIO_WAKE, Edge_ShortDelay);
DelayMs(2);
LowPower_Shutdown(0);
HSECFG_Current(HSE_RCur_100);
举报