Freescale Semiconductor, Inc.
Interrupts
Interrupt Processing
FROM
RESET
YES
I BIT SET?
NO
YES
EXTERNAL
INTERRUPT?
CLEAR IRQ LATCH.
NO
YES
YES
YES
YES
CORE TIMER
INTERRUPT?
NO
TIMER
INTERRUPT?
NO
SERIAL
INTERRUPT?
NO
ANALOG
INTERRUPT?
STACK PCL, PCH, X, A, CCR.
SET I BIT.
LOAD PC WITH INTERRUPT VECTOR.
NO
FETCH NEXT
INSTRUCTION.
SWI
YES
YES
INSTRUCTION?
NO
RTI
UNSTACK CCR, A, X, PCH, PCL.
EXECUTE INSTRUCTION.
INSTRUCTION?
NO
Figure 4-2. Interrupt Flowchart
MC68HC705JJ7/MC68HC705JP7 — Rev. 3.0
General Release Specification
Interrupts
For More Information On This Product,
Go to: www.freescale.com