EasyManua.ls Logo

Panasonic MN103S

Panasonic MN103S
552 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5
Interrupt Controller
Interrupt Controller Operation V - 37
Figure: 5.3.1 shows the interrupt sequence flow. (when not accepting multiple interrupts) The numbers in the fig-
ure correspond to the steps in the previous list.
Figure:5.3.1 Interrupt Sequence (Interrupt Sequence by the Interrupt Handler)
Speed-up of the Interrupt Handler Processing
An even higher interrupt response speed can be realized by assigning only one factor to a single interrupt level.
Figure: 5.3.2 shows the interrupt sequence flow when assigning one factor to a single interrupt level.
Figure:5.3.2 Speed-up of the Interrupt Handler Processing
Multiple Interrupts
When a level interrupt occurs, multiple interrupts are disabled by clearing IE of the PSW. However, multiple
interrupts can be achieved even while processing level interrupts by setting IE to “1” during processing. However,
in order for multiple interrupts to occur, the interrupts must have a higher priority than interrupt musk level IM2 to
IM0 of the PSW at that time. (The GnICR interrupt level LV2 to LV0 is smaller than the PSW interrupt mask level
IM2 to IM0.) When non-maskable interrupts occur, multiple interrupts of level interrupts and non-maskable inter-
rupts are disabled until the non-maskable interrupt processing program is finished by the execution of the RTI
instruction.
Interrupt processing
and interrupt reques
t
cancel
Program
Handler (pre-processing)
Interrupt
max. 11 Cycles
Interrupt processing by hardware
RTI
Interrupt
processing
program
Handler (post processing)
1
2
3
4
5
6
Processing for each level
Processing for each group
Processing for
each factor
3 Cycles
3 Cycles
Program
Handler (pre-processing)
Interrupt
max. 11 Cycles
Interrupt processing by hardware
RTI
Interrupt
processing
program
Handler (post-processing)
1
5
6
Processing for each factor

Table of Contents

Other manuals for Panasonic MN103S

Related product manuals