2
CHAPTER 22 I
C
The following sample flowchart illustrates the wakeup function.
404
Figure 22.7-8 Sample Flow
Procedure for transition
to stop/watch mode
IBSR0:BB = 0
YES
Enable wakeup function by setting
IBCR00:WUE = "1".
IBSR0:BB = 0
YES
Go to stop/watch mode.
NO
NO
IBCR00:WUE = 0
Write "0" to IBCR00:ALE
and clear AL interrupt