
INTERRUPTS
11-23
11
The global interrupts enable bit (bit 10) globally enables or disables the external interrupt pins and
timer unit inputs. It does not affect the NMI pin. This bit performs the same function as clearing the
mask register. The global interrupts enable bit is also changed indirectly by the use of the following
instructions:
inten
,
intdis
,
intctl
.
The mask-operation field (bits 11, 12) determines the operation the core performs on the mask
register when a hardware-generated interrupt is serviced. On an interrupt, the IMSK register is
either unchanged; cleared for dedicated-mode interrupts; cleared for expanded-mode interrupts; or
cleared for both dedicated- and expanded-mode interrupts. IMSK is never cleared for NMI or
software interrupts.
The vector cache enable bit (bit 13) determines whether interrupt table vector entries are fetched
from the interrupt table or from internal data RAM. Only vectors with the four least-significant bits
equal to 0010
2
may be cached in internal data RAM.
The sampling-mode bit (bit 14) determines whether dedicated inputs and NMI pin are sampled
using debounce sampling or fast sampling. Expanded-mode inputs are always detected using
debounce mode.
Bits 15 through 31 are reserved and must be set to 0 at initialization.
11.7.5
Interrupt Mapping Registers (IMAP0-IMAP2)
The IMAP registers (
Figure 11-9
) are three 32-bit registers (IMAP0 through IMAP2). These
registers are used to program the vector number associated with the interrupt source when the
source is connected to a dedicated-mode input. IMAP0 and IMAP1 contain mapping information
for the external interrupt pins (four bits per pin). IMAP2 contains mapping information for the
timer-interrupt inputs (four bits per interrupt).
Each set of four bits contains a vector number’s four most-significant bits; the four least-significant
bits are always 0010
2
. In other words, each source can be programmed for a vector number of
PPPP 0010
2
, where “P” indicates a programmable bit. For example, IMAP0 bits 4 through 7
contain mapping information for the XINT1 pin. If these bits are set to 0110
2
, the pin is mapped to
vector number 0110 0010
2
(or vector number 98).
Software can access the mapping registers using load/store type instructions. The mapping
registers are also automatically loaded at initialization from the control table in external memory.
Note that bits 16 through 31 of IMAP0 and IMAP1 are reserved and should be set to 0 at initial-
ization. Bits 0-15 and 24-31 of IMAP2 are also reserved and should be set to 0.
Содержание 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: ......