44
CHAPTER 3 INTERRUPT
3.1
Overview of Interrupt
F
2
MC-16LX has the following four interrupt functions that temporarily stop processing
currently being performed and make the control move to programs defined separately
when certain events occur:
• Hardware interrupt
• Software interrupt
• Interrupt by
μ
DMAC
• Exception processing
■
Types and functions of interrupts
❍
Hardware interrupt
Control is moved to the user-defined interrupt processing program in response to an interrupt
request from a peripheral function.
❍
Software interrupt
Control is moved to the user-defined interrupt processing program by execution of a dedicated
instruction for software interrupts (e.g., INT instruction).
❍
Interrupt by
μ
DMAC
μ
DMAC is a function used to automatically transfer data between peripheral functions and
memory. Previous data transfers by an interrupt processing program is provided in the same
way as the direct memory access (DMAC). When a transfer for data of a specified count is
completed, an interrupt processing program is automatically executed.
Interrupt by
μ
DMAC is a type of hardware interrupts.
❍
Exception processing
Exception processing is basically the same with interrupts. Exceptions are handled by
interrupting normal processing at the instruction boundary if exception event (execution of
undefined instruction) generation is detected. Exception processing is equivalent to software
interrupt instruction "INT10".
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: ......