XC68HC08KH12 Motorola, XC68HC08KH12 Datasheet - Page 74

no-image

XC68HC08KH12

Manufacturer Part Number
XC68HC08KH12
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet
System Integration Module (SIM)
7.6.1.1 Hardware Interrupts
Advance Information
74
INTERRUPT
INTERRUPT
MODULE
MODULE
I BIT
R/W
I BIT
IDB
IAB
R/W
IAB
IDB
DUMMY
DUMMY
At the beginning of an interrupt, the CPU saves the CPU register
contents on the stack and sets the interrupt mask (I bit) to prevent
additional interrupts. At the end of an interrupt, the RTI instruction
recovers the CPU register contents from the stack so that normal
processing can resume.
7-10
A hardware interrupt does not stop the current instruction. Processing of
a hardware interrupt begins after completion of the current instruction.
When the current instruction is complete, the SIM checks all pending
hardware interrupts. If interrupts are not masked (I bit clear in the
condition code register), and if the corresponding interrupt enable bit is
SP – 4
SP
PC – 1[7:0] PC – 1[15:8]
shows interrupt recovery timing.
CCR
Figure 7-10. Interrupt Recovery
SP – 1
SP – 3
Figure 7-9
System Integration Module (SIM)
A
SP – 2
SP – 2
.
X
Interrupt Entry
X
SP – 3
Figure 7-9
SP – 1
PC – 1[7:0] PC – 1[15:8] OPCODE
A
SP – 4
SP
shows interrupt entry timing.
CCR
VECT H
PC
V DATA H
MC68HC(7)08KH12
VECT L
PC + 1
V DATA L
OPERAND
START ADDR
OPCODE
MOTOROLA
Figure
Rev. 1.0

Related parts for XC68HC08KH12