English
Language : 

MC68HC908GR8A_07 Datasheet, PDF (165/260 Pages) Freescale Semiconductor, Inc – Microcontrollers
Exception Control
Interrupts are latched, and arbitration is performed in the SIM at the start of interrupt processing. The
arbitration result is a constant that the CPU uses to determine which vector to fetch. Once an interrupt is
latched by the SIM, no other interrupt can take precedence, regardless of priority, until the latched
interrupt is serviced (or the I bit is cleared). See Figure 14-10.
FROM RESET
I BBIRTESAEKT?
YES
INTERRUPT?
NO
YES
I BIT SET?
NO
IRQ
YES
INTERRUPT?
NO
AS MANY INTERRUPTS
AS EXIST ON CHIP
STACK CPU REGISTERS
SET I BIT
LOAD PC WITH INTERRUPT VECTOR
FETCH NEXT
INSTRUCTION
SWI
YES
INSTRUCTION?
NO
RTI
YES
INSTRUCTION?
NO
UNSTACK CPU REGISTERS
EXECUTE INSTRUCTION
Figure 14-10. Interrupt Processing
MC68HC908GR8A • MC68HC908GR4A Data Sheet, Rev. 5
Freescale Semiconductor
165