![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 1077](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_26276091077.webp)
BAT32G1x9User Manual | Chapter 28 Standby function
1077 / 1149
Rev.1.02
28.3.2
Exit from deep sleep mode
Deep sleep mode can be lifted in the following two ways.
(a) Unblocked by unmasked interrupt requests
If an unshielded interrupt request occurs, deep sleep mode is dismissed. After the oscillation settling
time, if it is in a state that allows acceptance of interrupts, vector interrupts are processed. If you are in a state
where you are prohibited from accepting interrupts, execute the instruction for the next address.
Figure 28-3 Exit from deep sleep mode by interrupt request
standby release signal
CPU status normal operation
deep sleep st ate
deep sleep st ate release preparation time
note1
deep sleep st ate released, execut e next instruction
note1
Note1
Note 1
Standby release signal: For details of the standby release signal, please refer to "The basic structure of
the interrupt function in Figure 2 5-1".
2.
Deep sleep state depreparation time:
When the CPU clock is a high-speed internal oscillation clock or an external clock input before entering
deep sleep mode:
at least 20us
When entering deep sleep mode before the CPU clock is a high-speed system clock (X1 oscillation):
At least 20us
and
a longer time in the
oscillation settling time
(
set
by
OSTS
).
Additional LOCKUP time is required when the CPU clock is PLL clock before entering deep sleep mode.
3.
Wait: From the CPU The IRQ is valid enough to start executing the interrupt service procedure, which
requires 14 clocks.
Note: 1. Before entering sleep mode, only the shielding bit corresponding to the interrupt expected to be used to
lift sleep mode should be cleared.
2. When the CPU is running on a high-speed system clock (X1 oscillation) and the oscillation settling
time after the deep sleep mode is deactivated, the CPU clock must be temporarily switched to a high-
speed internal oscillator clock before executing the WFI instruction.
Note The oscillation accuracy of the high-speed internal oscillator clock is stable
and
waits for change due to
temperature conditions and during deep sleep mode.