CHAPTER 3 INTERRUPT
3.1
Outline of Interrupt
2
F
MC-16LX has the following five interrupt functions, which suspend the current
process when an event occurs and transfer control to a separately defined program.
• Hardware Interrupt
• Software interrupt
• Interrupts by extended intelligent I/O service (EI
µ
• Interruption by
• Exception processing
Type and Function of Interrupt
Hardware Interrupt
Transfers control to the user-defined interrupt handling program in response to an interrupt request from a
peripheral function.
Register file
F 2 MC-16LX CPU
Enable FF
Cause FF
48
DMAC
Figure 3.1-1 Overview of Hardware Interrupts
Microcode
IR
Peripheral
AND
2
OS)
PS
I
ILM
Check
Comparator
Interrupt
controller
PS
: Processor status
I
: Interrupt enable flag
ILM
: Interrupt level mask register
IR
: Instruction register