I used stm32cubemx to config stm32f407, when it entry stop mode, PA0 is used to wakeup MCU from stop mode, how to config system clk. when it entry into stop mode and leave stop mode
entry into stop mode: HAL_NVIC_EnableIRQ(EXTI0_IRQn); HAL_PWR_DisableWakeUpPin(PWR_WAKEUP_PIN1); __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WU); HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1); __enable_irq(); HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_ST...