45
CHAPTER 3 INTERRUPT
■
Overall flow of interrupt operation
Four types of interrupt functions provide start and return processing, as shown in Figure 3.1-1.
Figure 3.1-1 Overall flow of interrupt operation
START
Valid hardware
interrupt request
String-type
instruction being
executed*
YES
YES
YES
YES
YES
YES
NO
NO
NO
NO
NO
NO
Fetching and decoding
of next instruction
INT instruction?
RETI instruction?
Execution of normal
instruction
Completed
reiteration of string-type
instruction*
Pointer moved to next
instruction if PC updated
Main program
Interrupt start and return processing
μ
DMAC?
μ
DMAC
μ
DMAC processing
Specified count
completed?
End of request from
peripheral function?
Software
interrupt
and exception
processing
Saving dedicated registers
in the system stack
Hardware interrupt
acceptance prohibited
(I = 0)
Execution of
interrupt return
A dedicated register is
returned from the system
stack to the routine that
exists before the interrupt
routine is called.
Reading of interrupt
vector to update PC
and PCB, and then
branching to interrupt
routine
Updating CPU interrupt
processing level (ILM)
Saving dedicated registers
in the system stack
Hardware
interrupt
*: When a string-type instruction is being executed, the interrupt condition is checked in each step.
Summary of Contents for MB90480 Series
Page 2: ......
Page 4: ......
Page 10: ...vi ...
Page 128: ...106 CHAPTER 4 RESET ...
Page 174: ...152 CHAPTER 6 LOW POWER CONSUMPTION MODE ...
Page 198: ...176 CHAPTER 7 MODE SETTING ...
Page 220: ...198 CHAPTER 9 TIMEBASE TIMER ...
Page 238: ...216 CHAPTER 11 WATCH TIMER ...
Page 280: ...258 CHAPTER 12 16 BIT INPUT OUTPUT TIMER ...
Page 406: ...384 CHAPTER 17 8 10 BIT A D CONVERTER ...
Page 478: ...456 CHAPTER 20 CHIP SELECTION FACILITY ...
Page 494: ...472 CHAPTER 21 ADDRESS MATCH DETECTION FUNCTION ...
Page 498: ...476 CHAPTER 22 ROM MIRROR FUNCTION SELECTION MODULE ...
Page 526: ...504 CHAPTER 23 2M 3M BIT FLASH MEMORY ...
Page 536: ...514 CHAPTER 24 EXAMPLES OF MB90F481B MB90F482B MB90F488B MB90F489B SERIAL PROGRAMMING ...
Page 570: ...548 CHAPTER 25 PWC TIMER ONLY MB90485 SERIES ...
Page 688: ......