English
Language : 

MC68908GZ8MFJE Datasheet, PDF (223/314 Pages) Freescale Semiconductor, Inc – Microcontrollers
Exception Control
16.5.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.
16.5.1.3 Interrupt Status Registers
The flags in the interrupt status registers identify maskable interrupt sources. Table 16-3 summarizes the
interrupt sources and the interrupt status register flags that they set. The interrupt status registers can be
useful for debugging.
Priority
Highest
Lowest
Table 16-3. Interrupt Sources
Interrupt Source
Reset
SWI instruction
IRQ pin
CGM clock monitor
TIM1 channel 0
TIM1 channel 1
TIM1 overflow
TIM2 channel 0
TIM2 channel 1
TIM2 overflow
SPI receiver full
SPI transmitter empty
SCI receive error
SCI receive
SCI transmit
Keyboard
ADC conversion complete
Timebase module
MSCAN08 wakeup
MSCAN08 error
MSCAN08 receive
MSCAN08 transmit
Interrupt Status Register Flag
—
—
I1
I2
I3
I4
I5
I6
I7
I8
I9
I10
I11
I12
I13
I14
I15
I16
I17
I18
I19
I20
MC68HC908GZ16 • MC68HC908GZ8 Data Sheet, Rev. 4
Freescale Semiconductor
223