84
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Peripheral
Run
Sleep
Stop 0
Stop 2
Standby
VBAT
-
Wakeup
capability
-
Wakeup
capability
-
Wakeup
capability
Tempsensor
O
O
-
-
-
-
-
-
-
TIMx
O
O
-
-
-
-
-
-
-
IWDG
O
O
O
O
O
O
O
O
-
WWDG
O
O
-
-
-
-
-
-
-
SysTick
O
O
-
-
-
-
-
-
-
SAC
O
O
-
-
-
-
-
-
-
RNG
O
O
-
-
-
-
-
-
-
CRC
O
O
-
-
-
-
-
-
-
GPIOs
O
O
O
O
O
O
Y
2pins
-
Note:
1.
Y means Yes (enable), O means Option (optional), - means invalid, OFF means close,
2.
2pins represent 2 wakeup IOs, PA0_WKUP and NRST
3.
MR can select to work in normal mode or in low power mode
4.
FLASH is in sleep (Flash itself) mode.
4.2.1
SLEEP mode
The CPU stops and all peripherals including peripherals around the Cortex®-M4F core (such as NVIC, SysTick, etc.)
can run and wake up the CPU when an interrupt or event occurs. In SLEEP mode, all I/O pins maintain the same
state/function as in RUN mode.
Enter SLEEP mode
Enter SLEEP mode by executing WFI (wait for interrupt) or WFE (wait for event) instruction with
SCB_SCR.SLEEPDEEP = 0. Depending on the SCB_SCR.SLEEPONEXIT, there are two options for SLEEP mode
entry:
SLEEP-NOW: If SCB_SCR.SLEEPONEXIT = 0, then WFI or WFE instruction is executed immediately, and
the system enters sleep mode immediately.
SLEEP-ON-EXIT: If SCB_SCR.SLEEPONEXIT = 1, the system immediately enters sleep mode when exiting
from the lowest priority ISR.