10.6.2 Stop Mode
10.7 CPU During Break Interrupts
MC68HC908GP32
MC68HC08GP32
•
MOTOROLA
Freescale Semiconductor, Inc.
The STOP instruction:
•
Clears the interrupt mask (I bit) in the condition code register,
enabling external interrupts. After exit from stop mode by external
interrupt, the I bit remains clear. After exit by reset, the I bit is set.
•
Disables the CPU clock
After exiting stop mode, the CPU clock begins running after the oscillator
stabilization delay.
If a break module is present on the MCU, the CPU starts a break
interrupt by:
•
Loading the instruction register with the SWI instruction
•
Loading the program counter with $FFFC:$FFFD or with
$FEFC:$FEFD in monitor mode
The break interrupt begins after completion of the CPU instruction in
progress. If the break address register match occurs on the last cycle of
a CPU instruction, the break interrupt begins immediately.
A return-from-interrupt instruction (RTI) in the break routine ends the
break interrupt and returns the MCU to normal operation if the break
interrupt has been deasserted.
Rev. 6
—
Central Processor Unit (CPU)
For More Information On This Product,
Go to: www.freescale.com
Central Processor Unit (CPU)
CPU During Break Interrupts
Technical Data
155