
17. Power down operation
A96G166/A96A166/A96S166 User’s manual
170
17.4
Released operation of STOP mode
After STOP mode is released, operation begins according to content of related interrupt register just
before STOP mode starts (refer to Figure 84). If the global interrupt Enable Flag (IE.EA)is set to `1`,
the STOP mode is released by a certain interrupt of which interrupt enable flag = `1` and the CPU
jumps to the relevant interrupt service routine. Even if the IE.EA bit is cleared to
‘
0
’
, the STOP mode
is released by the interrupt of which the interrupt enable flag is set to
‘
1
’
.
Figure 84. STOP Mode Release Flow
SET PCON[7:0]
SET IEx.b
STOP Mode
IEx.b==1 ?
Interrupt Request
STOP Mode Release
Y
Interrupt Service
Routine
Next Instruction
N
Corresponding Interrupt
Enable Bit (IE, IE1, IE2, IE3)