![Geehy SEMICONDUCTOR APM32F405 Series User Manual Download Page 109](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630109.webp)
www.geehy.com Page 108
Characteristics
Description
After wake-up
If the system is woken up by interrupt, it will first enter the interrupt, then exit the
interrupt, and then execute the program after WFI instruction. If the system is woken
up by event, it will directly execute the program after WFE instruction.
Stop mode
The characteristics of stop mode are shown in the table below:
Table 40 Characteristics of Stop Mode
Characteristics
Description
Enter
SLEEPDEEP bit of the core register is set to 1, PDDSCFG bit of the register
PMU_CTRL is set to 0, and when executing WFI or WFE instruction, the system will
enter the stop mode immediately;
When LPDSCFG bit of the register PMU_CTRL is set to 0, the voltage regulator is
working in normal mode; when LPDSCFG bit of the register PMU_CTRL is set to 1,
the voltage regulator is working in low-power mode.
Wake-up
If WFI instruction is executed to enter the sleep mode, wake up by any interrupt; If
WFE instruction is executed to enter the sleep mode, wake up through an event.
Stop
The core will stop working, the peripheral will stop working, and the data in the core
register and memory before stop will be saved.
Wake-up delay
HSICLK oscillator wake-up time + voltage regulator wake-up time from low-power
mode.
After wake-up
If the system is woken up by interrupt, it will first enter the interrupt, then exit the
interrupt, and then execute the program after WFI instruction. If the system is woken
up by event, it will directly execute the program after WFE instruction.
Standby mode
The characteristics of standby mode are shown in the table below:
Table 41 Standby Mode
Characteristics
Description
Enter
SLEEPDEEP bit of the core register is set to 1, PDDSCFG bit of the register
PMU_CTRL is set to 1, WUEFLG bit is set to 0 and when executing WFI or WFE
instruction, the system will enter the standby mode immediately.
Wake-up
Wake up by rising edge of WKUP pin, RTC alarm, wake-up, tamper event or NRST
pin external reset and IWDT reset.
Standby
The core will stop working, the peripheral will stop working, and the data in the core
register and memory will be lost.
Wake-up delay
Chip reset time.
After wake-up
The program starts executing from the beginning.
Reduce the power consumption in run mode
In the run mode, the power consumption can be reduced by reducing the
system clock, closing or reducing the peripheral clock on the APB/AHB bus.