EasyManua.ls Logo

Panasonic MN101L Series

Panasonic MN101L Series
563 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 3
Interrupts
III - 4 Overview
3.1.2 Operation
Interrupt Processing Sequence
Figure:3.1.2 shows the flow of a interrupt processing. When an interrupt occurs and is accepted, the Program
Counter (PC), Processor Status Word (PSW) and Handy Address (HA) are saved onto the stack by hardware, and
CPU jumps to the address specified by the corresponding interrupt vector. At the end of interrupt handler, execute
the "RTI" instruction to go back to the main program which had been executed before the interrupt was accepted.
Figure:3.1.2 Interrupt Processing Sequence
..
xICR.IR of maskable interrupt is cleared to "0" by hardware when the corresponding interrupt
is accepted, but NMICR.IRQNPG, NMICR.IRQNWDG, PERI0DT.PERI0DT6-0 and
PERI1DT.PERI1DT 4-0 are not cleared to "0" by hardware and must be cleared by software.
..
Start Interrupt handle
r
Hardware processing
Save PC, PSW, HA
Restore PC, PSW, HA
Transition Time: 6 SYSCLK cycles at least
I
nterrupt
o
ccurs
Main program
Restart
Execute RTI instructio
n
Transition Time: 6 SYSCLK cycles at least

Table of Contents

Related product manuals