看MDK自带的关于STM32 STOP模式例程中,一旦进入STOP模式,所有时钟就停止,但是看MDK自带例程却发现还有如下一句:
/* Request to enter STOP mode with regulator ON */
PWR_EnterSTOPMode(PWR_Regulator_ON, PWR_STOPEntry_WFI);
/* At this stage the system has resumed from STOP mode -------------------*/
/* Turn on led connected to PC.06 */
GPIO_SetBits(GPIOC, GPIO_Pin_6);
这是时钟都停止了,在置位PC6是否不妥? |