Fujitsu F2MC-16LX Hardware Manual page 59

Mb90470 series 16-bit microcontroller
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

I Interrupt operation
Four types of interrupt functions provide start and return processing, as shown in Figure 3.1-1
"Overall flow of interrupt operation".
START
Valid hardware
interrupt request
String-type
instruction being
NO
executed*1
Fetching and decoding
of next instruction
INT instruction?
NO
RETI instruction?
NO
Execution of normal
instruction
Completed
NO
reiteration of string-type
instruction*1
YES
Pointer moved to next
instruction if PC updated
*1 When a string-type instruction is being executed, the interrupt condition is checked in each step.
Figure 3.1-1 Overall flow of interrupt operation
Main program
YES
Software
YES
interrupt
and exception
processing
Storing dedicated registers
in the system stack
Hardware interrupt
acceptance prohibited
(I = 0)
YES
Execution of
interrupt return
A dedicated register is
returned from the system
stack to the routine that
exists before the interrupt
routine is called.
CHAPTER 3 INTERRUPT
Interrupt start and return processing
YES
µDMA/EI
2
OS?
NO
µDMA/EI
Hardware
YES
interrupt
End of request from
peripheral function?
Storing dedicated registers
in the system stack
Updating CPU interrupt
processing level (ILM)
Reading of interrupt
vector to update PC
and PCB, and then
branching to interrupt
routine
µDMA/EI
2
OS
2
OS processing
Specified count
completed?
NO
43

Advertisement

Table of Contents
loading

Table of Contents