![](http://datasheet.mmic.net.cn/280000/HD4074329_datasheet_16064705/HD4074329_28.png)
HD404328 Series
28
Standby mode
Active mode
Reset
Stop mode
(TMA3 = 0)
OSC
:
f
X
:
CPU
:
CLK
:
PER
:
Operating
Operating
Stopped
f
cyc
f
cyc
OSC
:
f
X
:
CPU
:
CLK
:
PER
:
Operating
Operating
Stopped
f
SUB
f
cyc
SBY (standby)
SBY (standby)
Interrupt
Notes:
OSC
:
f
X
:
CPU
:
CLK
:
PER
:
Operating
Operating
f
cyc
f
SUB
f
cyc
OSC
:
f
X
:
CPU
:
CLK
:
PER
:
OSC
:
f
X
:
CPU
:
CLK
:
PER
:
Operating
Operating
f
f
f
cyc
cyc
cyc
Stopped
Operating
f
SUB
f
SUB
f
SUB
OSC
:
f
X
:
CPU
:
CLK
:
PER
:
Stopped
Operating
Stopped
Stopped
Stopped
OSC
:
f
X
:
CPU
:
CLK
:
PER
:
Stopped
Operating
Stopped
f
SUB
Stopped
OSC
:
f
X
:
CPU
:
CLK
:
PER
:
Stopped
Operating
Stopped
f
SUB
Stopped
Watch mode
(TMA3 = 1, LSON = 0)
(TMA3 = 1, LSON = 1)
STOP
STOP
INT
0,
time-base
STOP
*
3
Subactive mode
INT
0
,
time-base
STOP/SBY
(LSON = 1)
(TMA3 = 0)
(TMA3 = 1)
OSC
:
f
X
:
f
cyc
:
f
SUB
:
CPU
:
CLK
:
PER
:
LSON:
DTON:
Main oscillation frequency
Suboscillation frequency,
for time-base
f
OSC
/8
f
X
/8
System clock
Clock for time-base
Clock for other peripheral
functions
Low speed on flag
Direct transfer on flag
1. Interrupt source
2. STOP/SBY (DTON = 1, LSON = 0)
3. STOP/SBY (DTON = 0, LSON = 0)
4. DTON can be 0 or 1.
Interrupt
*
1
*
4
*
1
*
2
Figure 10 MCU Status Transitions
Active Mode:
The MCU operates according to the clock generated by the system oscillators OSC
1
and
OSC
2
.
Standby Mode:
The MCU enters standby mode when the SBY instruction is executed from active mode.
In this mode, the oscillators, interrupts, timer/counters, and serial interface continue to operate, but all
instruction execution-related clocks stop. The stopping of these clocks stops the CPU, retaining all RAM
and register contents and maintaining the current I/O pin status.
The standby mode is terminated by a RESET input or an interrupt request. If it is terminated by RESET
input, the MCU is reset as well. After an interrupt request, the MCU enters active mode and resumes,
executing the next instruction after the SBY instruction. If the interrupt enable flag is 1, that interrupt is
then processed; if it is 0, the interrupt request is left pending and normal instruction execution continues. A
flowchart of operation in standby mode is shown in figure 11.