2
-
11
(c) When multiple interrupt factors occur simultaneously in the interrupt program
execution enabled status
The interrupt programs are executed in the order of interrupt pointers (I ) with high priority. (
9.10.1)
Other interrupt programs have to wait until processing of the interrupt program being executed is completed.
(d) When the same interrupt factor as that of the interrupt program being executed
occurs
1) Basic model QCPU
The CPU module stores the interrupt factors of I0 to I15, I28 to I31, and I50 to I127 only once. Then, the CPU
module executes the interrupt program corresponding to the stored interrupt factor after completion of current
interrupt program execution.
Even if the same interrupt factor occurs more than one time, the CPU module stores only the first factor.
The second interrupt factor and later are ignored.
Figure 2.13 When multiple interrupt factors occur simultaneously
Figure 2.14 Operation when the same interrupt factor as that of the interrupt program being executed occurs
Main routine
program
Interrupt
program (I50)
Interrupt
enabled (EI)
Simultaneous occurrence of
multiple interrupt factors
Execution
Execution
Execution
Interrupt
program (I100)
Wait to be
processed
Wait to be processed
Interrupt
program (I150)
IRET
IRET
IRET
I50 I100
I150
Low
Priority
High
OFF
ON
t1: Time from interrupt factor occurrence to interrupt program execution
t2: Interrupt program execution time
These interrupt factors are ignored.
t1
t2
IRET
IRET
Interrupt factor
Interrupt program
Main routine
program
These interrupt factors are stored. Therefore,
the corresponding interrupt programs are executed.
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......