Panasonic F77G, MN101C77C user manual Processing Sequence with Multiple Interrupts Enabled

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 107
Image 107

Chapter 3 Interrupts

Figure 3-1-7 shows the processing flow for multiple interrupts (interrupt 1: xxxLV1-xxxLV0='10', and

interrupt 2: xxxLV1-xxxLV0='00').

 

 

 

 

Main program

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IM1,0='11'

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt 1 generated

Accepted because xxxLV1,0<IM

(xxxLV1,0='10')

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(IM1,0='10' )

 

 

Interrupt acceptance cycle

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt service routine: 1

 

 

 

 

* Interrupt 2 generated

Accepted because xxxLV1,0<IM

 

 

 

 

(xxxLV1,0='00')

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt acceptance cycle

 

 

 

 

 

( IM1,0='00' )

Interrupt service routine: 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Restart interrupt processing program 1

RTI ( IM1,0='10' )

RTI ( IM1,0='11' )

Parentheses ( ) indicate hardware processing

Figure 3-1-7 Processing Sequence with Multiple Interrupts Enabled

Overview III - 13

Page 107
Image 107
Panasonic F77G, MN101C77C user manual Processing Sequence with Multiple Interrupts Enabled