System Integration Module (SIM)
Technical Data
MC68HC908GP32
•
MC68HC08GP32
—
Rev. 6
292
System Integration Module (SIM)
MOTOROLA
19.6.1.2 SWI Instruction
The SWI instruction is a non-maskable instruction that causes an
interrupt regardless of the state of the interrupt mask (I bit) in the
condition code register.
NOTE:
A software interrupt pushes PC onto the stack. A software interrupt does
not push PC – 1, as a hardware interrupt does.
19.6.1.3 Interrupt Status Registers
The flags in the interrupt status registers identify maskable interrupt
sources.
Table 19-3
summarizes the interrupt sources and the interrupt
status register flags that they set. The interrupt status registers can be
useful for debugging.
Table 19-3. Interrupt Sources
Priority
Interrupt Source
Interrupt Status
Register Flag
Highest
Reset
—
SWI instruction
—
IRQ pin
IF1
PLL
IF2
TIM1 channel 0
IF3
TIM1 channel 1
IF4
TIM1 overflow
IF5
TIM2 channel 0
IF6
TIM2 channel 1
IF7
TIM2 overflow
IF8
SPI receiver full
IF9
SPI transmitter empty
IF10
SCI receive error
IF11
SCI receive
IF12
SCI transmit
IF13
Keyboard
IF14
ADC conversion complete
IF15
Lowest
Timebase module
IF16
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..