Intel 8XC196MC Benutzerhandbuch

Seite von 579
8XC196MC, MD, MH USER’S MANUAL
5-2
Figure 5-1.  Flow Diagram for PTS and Standard Interrupts
No
No
PTS
Enabled?
PTSSEL.
x
Bit = 1?
Yes
Yes
No
Interrupt Pending or PTSSRV Bit Set
NMI
Pending
?
Interrupts
Enabled
?
Yes
No
Return
INT_MASK.
x
= 1?
No
Return
Yes
Return
Reset INT_PEND.
x
Bit
Reset PTSSRV.
x
Bit
Priority
Encoder
Highest Priority Interrupt
PUSH PC
on Stack
LJMP to
ISR
Execute Interrupt
Service Routine
POP PC
from Stack
Priority
Encoder
Highest Priority PTS Interrupt
Execute 1 PTS Cycle
(Microcoded)
Decrement
PTSCOUNT
PTSCOUNT
= 0?
Yes
No
Return
Clear PTSSEL.
x Bit
Set PTSSRV.
x Bit
Return
PTSSRV.
x
= 1?
Yes
No
Reset INT_PEND.
x
Bit
Yes
A0320-02