3
- 18
3.1 Sequence Program
3.1.3 Interrupt programs
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(c) When multiple interrupt factors occur simultaneously in interrupt enable
status
The interrupt programs are executed in the order of descending preferences of
their interrupt pointers (I ) .(
The other interrupt programs have to wait until the processing of the interrupt
program being executed is completed.
(d) When the same interrupt factor as that of the interrupt program in execution
occurs
The operation will be as described below when the same interrupt factor as that of
the interrupt program currently being executed occurs before completion of the
program processing.
1) Basic model QCPU
Interrupt factors of I0 to I15, I28 to I31, and I50 to I127 are stored only once
and the interrupt program for each stored interrupt factor is executed after
completion of the current program execution.
Even if the same interrupt factor occurs several times, the first one only is
stored and those occurred after that are ignored.
Figure 3.14 When multiple interrupt factors occur simultaneously in interrupt enable status
Figure 3.15 When the same interrupt factor as that of the interrupt program in execution occurs
Main routine
program
I50 interrupt
program
Interrupt
enable (EI)
Multiple interrupt factors
occur simultaneously.
Execution
I100 interrupt
program
Execution
Execution
Wait to be
processed
Wait to be
processed
I150 interrupt
program
IRET
IRET
IRET
I50 I100
I150
Low Priority High
OFF
ON
This interrupt factor is stored and the
corresponding interrupt program is executed.
t1
t2
IRET
IRET
Main routine
program
This interrupt factor is ignored.
t1: Time from interrupt factor occurrence to interrupt program execution
t2: Interrupt program execution time
Interrupt factor
Interrupt program
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......