55
CHAPTER 3 INTERRUPTS
Figure 3.1-1 Overview of Hardware Interrupts
■
Software Interrupts
Interrupts requested by executing the INT instruction are software interrupts. An interrupt request by the
INT instruction does not have an interrupt request or enable flag. An interrupt request is issued always by
executing the INT instruction.
No interrupt level is assigned to the INT instruction. Therefore, ILM is not updated when the INT
instruction is used. Instead, the I flag is cleared and the continuing interrupt requests are suspended.
Figure 3.1-2 Overview of Software Interrupts
■
Extended Intelligent I/O Service (EI
2
OS)
The extended intelligent I/O service automatically transfers data between an internal resource and memory.
This processing is traditionally performed by an interrupt processing program, but the EI
2
OS enables data
to be transferred in a manner similar to a DMA (direct memory access) operation.
To activate the extended intelligent I/O service function from an internal resource, the interrupt control
register (ICR) of the interrupt controller must have an extended intelligent I/O service enable flag (ISE).
The extended intelligent I/O service is started when an interrupt request occurs with "1" specified in the
ISE flag.
To generate a normal interrupt using a hardware interrupt request, set the ISE flag to "0".
IR
PS
I
ILM
AND
F
2
M C - 1 6 LX . CPU
F
2
MC-16LX bus
Register file
Microcode
Check
Comparator
Peripheral
Enable FF
Cause FF
Level comparator
Interrupt level IL
Interrupt
PS :Processor
status
I :Interrupt
enable
flag
ILM
:Interrupt level mask register
IR :Instruction
register
B unit
:Bus interface unit
controller
RAM
IR
PS
I
S
F
2
M C - 1 6 LX · C P U
PS
:Processor stat
u
s
I :Interr
u
pt ena
b
le flag
S
:Stack flag
IR
:Instr
u
ction register
B
u
nit
:B
u
s interface
u
nit
F
2
MC-16LX
bu
s
Sa
v
e
Register file
Microcode
Q
u
e
u
e
Fetch
Instr
u
ction
bu
s
B
u
nit
Содержание MB90390 Series
Страница 2: ......
Страница 4: ......
Страница 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Страница 18: ...xiv ...
Страница 132: ...104 CHAPTER 5 CLOCKS ...
Страница 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Страница 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Страница 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Страница 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Страница 274: ...246 CHAPTER 15 WATCH TIMER ...
Страница 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Страница 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Страница 364: ...336 CHAPTER 19 UART0 UART1 ...
Страница 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Страница 432: ...404 CHAPTER 20 UART2 UART3 ...
Страница 482: ...454 CHAPTER 22 SERIAL I O ...
Страница 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Страница 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Страница 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Страница 722: ...694 APPENDIX ...
Страница 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 740: ......