INTERRUPTS
11-14
11.6.8
Interrupt Controller Modes
The eight external interrupt pins can be configured for one of three modes: dedicated, expanded or
mixed. Each mode is described in the subsections that follow.
11.6.8.1
Dedicated Mode
In dedicated mode, each external interrupt pin is assigned a vector number. Vector numbers that
may be assigned to a pin are those with the encoding PPPP 0010
2
(
Figure 11-4
), where bits
marked P are programmed with bits in the interrupt map (IMAP) registers. This encoding of
programmable bits and preset bits can designate 15 unique vector numbers, each with a unique,
even-numbered priority. (Vector 0000 0010
2
is undefined; it has a priority of 0.)
Dedicated-mode interrupts are posted in the interrupt pending (IPND) register. Single bits in the
IPND register correspond to each of the eight dedicated external interrupt inputs, or the two timer
inputs to the interrupt controller. The interrupt mask (IMSK) register selectively masks each of the
dedicated-mode interrupts. Optionally, the IMSK register can be saved and cleared when a
dedicated-mode interrupt is serviced. This allows other hardware-generated interrupts to be locked
out until the mask is restored. See
section 11.7.3, “Memory-Mapped Control Registers”
(pg. 11-21)
for a further description of the IMSK, IPND and IMAP registers.
Interrupt vectors are assigned to timer inputs in the same way external pins are assigned
dedicated-mode vectors. The timer interrupts are always dedicated-mode interrupts.
Figure 11-4. Dedicated Mode
PPPP
PPPP
PPPP
PPPP
PPPP
PPPP
0010
2
0010
2
0010
2
0010
2
0010
2
0010
2
...
...
XINT0
XINT1
XINT2
XINT7
TINT0
TINT1
...
8
4 LSB
4 MSB
IMAP Control Registers
Hard-wired Vector Offset
Highest Selected
Vector Number
Содержание i960 Jx
Страница 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Страница 24: ......
Страница 25: ...1 INTRODUCTION ...
Страница 26: ......
Страница 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Страница 36: ......
Страница 46: ......
Страница 47: ...3 PROGRAMMING ENVIRONMENT ...
Страница 48: ......
Страница 73: ...4 CACHE AND ON CHIP DATA RAM ...
Страница 74: ......
Страница 85: ...5 INSTRUCTION SET OVERVIEW ...
Страница 86: ......
Страница 111: ...6 INSTRUCTION SET REFERENCE ...
Страница 112: ......
Страница 195: ...INSTRUCTION SET REFERENCE 6 83 6 Opcode mov 5CCH REG movl 5DCH REG movt 5ECH REG movq 5FCH REG See Also LOAD STORE lda ...
Страница 233: ...7 PROCEDURE CALLS ...
Страница 234: ......
Страница 256: ......
Страница 257: ...8 FAULTS ...
Страница 258: ......
Страница 291: ...9 TRACING AND DEBUGGING ...
Страница 292: ......
Страница 309: ...10 TIMERS ...
Страница 310: ......
Страница 324: ......
Страница 325: ...11 INTERRUPTS ...
Страница 326: ......
Страница 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Страница 370: ......
Страница 412: ......
Страница 413: ...13 MEMORY CONFIGURATION ...
Страница 414: ......
Страница 429: ...14 EXTERNAL BUS ...
Страница 430: ......
Страница 468: ......
Страница 469: ...15 TEST FEATURES ...
Страница 470: ......
Страница 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Страница 494: ......
Страница 502: ......
Страница 503: ...B OPCODES AND EXECUTION TIMES ...
Страница 504: ......
Страница 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Страница 516: ......
Страница 523: ...D REGISTER AND DATA STRUCTURES ...
Страница 524: ......
Страница 550: ......
Страница 551: ...GLOSSARY ...
Страница 552: ......
Страница 561: ...INDEX ...
Страница 562: ......
Страница 578: ......