Freescale Semiconductor, Inc.
Op e ra ting Mod e s
STOP
HALT
WAIT
YES
SWAIT BIT
CLEAR I BIT IN CCR.
SET IRQE BIT IN ISCR.
TURN OFF CPU CLOCK.
KEEP OTHER MODULE
CLOCKS ACTIVE.
CLEAR I BIT IN CCR.
SET IRQE BIT IN ISCR.
TURN OFF CPU CLOCK.
KEEP OTHER MODULE
CLOCKS ACTIVE.
IN MOR SET?
NO
CLEAR I BIT IN CCR.
SET IRQE BIT IN ISCR.
CLEAR CTOF, RTIF, CTOFE, AND RTIE BITS IN TSCR.
CLEAR ICF, OCF, AND TOF BITS IN TSR.
CLEAR ICIE, OCIE, AND TOIE BITS IN TCR.
DISABLE EXTERNAL PIN OSCILLATOR.
TURN OFF INTERNAL LOW-POWER OSCILLATOR.
YES
YES
EXTERNAL
RESET?
EXTERNAL
RESET?
NO
NO
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
EXTERNAL
EXTERNAL
EXTERNAL
INTERRUPT?
INTERRUPT?
RESET?
NO
NO
NO
CORE
TIMER
INTERRUPT?
CORE
TIMER
INTERRUPT?
YES
EXTERNAL
INTERRUPT?
NO
NO
NO
PROG.
TIMER
INTERRUPT?
PROG.
TIMER
INTERRUPT?
TURN ON SELECTED OSCILLATOR.
RESET STABILIZATION DELAY TIMER.
NO
NO
SIOP
INTERRUPT?
SIOP
INTERRUPT?
NO
NO
YES
END OF
STABILIZATION
DELAY?
ANALOG
INTERRUPT?
ANALOG
INTERRUPT?
NO
NO
NO
COP
RESET?
COP
RESET?
TURN ON CPU CLOCK.
NO
NO
1. LOAD PC WITH RESET VECTOR
OR
2. SERVICE INTERRUPT.
a. SAVE CPU REGISTERS ON STACK.
b. SET I BIT IN CCR.
c. LOAD PC WITH INTERRUPT VECTOR.
Figure 6-2. Stop/Wait/Halt Flowchart
General Release Specification
MC68HC705JJ7/MC68HC705JP7 — Rev. 3.0
Operating Modes
For More Information On This Product,
Go to: www.freescale.com