
11-20
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part III. Configuration
Figure 11-14. Interrupt Table Handling Example
The interrupt to be serviced can be determined by reading SIVEC[INTC]. For example, if
IRQ3, level 3, and IRQ6 interrupts occur simultaneously and IRQ3 is masked, INTC =
0b0001_1100 (0x1C), indicating that the level 3 interrupt should be handled.
Note that SIVEC[INTC] contains the encoding for a level-7 interrupt (see Table 11-7) by
default, even when no interrupts are pending. Thus, polling SIVEC when all interrupts are
masked returns the level-7 vector. Therefore, the level-7 interrupt vector may indicate a
spurious interrupt in the following scenarios:
¥
Polling SIVEC returns a level 7 interrupt, but nothing is programmed to interrupt at
level 7.
¥
Polling SIVEC returns a level 7 interrupt, but SIPEND[LV7] is not set (assuming
something is programmed to interrupt at level 7).
11.6 The Bus Monitor
Control of the bus monitor is provided in the SYPCR. The bus monitor ensures that each
bus cycle initiated by the MPC860terminates within a reasonable time. The MPC860Õs bus
monitor does not monitor accesses initiated by external masters. At the start of the transfer
start signal (TS), the monitor begins counting and stops when transfer acknowledge (TA),
retry (RETRY) or transfer error (TEA) is asserted. For burst cycles, this action is also
performed between subsequent TA assertions for each data beat. If the monitor times out,
Intr: ¥ ¥ ¥
Save State
R3 <Ð @ SIVEC
R4 <Ð Base of Branch Table
¥ ¥ ¥
lbz
add
mtspr
bctr
Rx, R3 (0)
Rx, Rx, R4
CTR, Rx
# Load as Byte
b Routine1
Base
Intr: ¥ ¥ ¥
Save State
R3 <Ð @ SIVEC
R4 <Ð Base of Branch Table
¥ ¥ ¥
lhz
add
mtspr
bctr
Rx, R3 (0)
Rx, Rx, R4
CTR, Rx
# Load as half word
1st Instruction of Routine1
1st Instruction of Routine2
1st Instruction of Routine3
1st Instruction of Routine4
¥
¥
Base
Base + 400
Base + 800
Base + C00
Base + 1000
Base + n
b Routine2
Base + 4
b Routine3
Base + 8
b Routine4
Base + C
¥
Base + 10
¥
Base + n
¥
¥
¥
¥
¥
¥
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......