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.
Summary of Contents for i960 Jx
Page 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Page 24: ......
Page 25: ...1 INTRODUCTION ...
Page 26: ......
Page 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Page 36: ......
Page 46: ......
Page 47: ...3 PROGRAMMING ENVIRONMENT ...
Page 48: ......
Page 73: ...4 CACHE AND ON CHIP DATA RAM ...
Page 74: ......
Page 85: ...5 INSTRUCTION SET OVERVIEW ...
Page 86: ......
Page 111: ...6 INSTRUCTION SET REFERENCE ...
Page 112: ......
Page 233: ...7 PROCEDURE CALLS ...
Page 234: ......
Page 256: ......
Page 257: ...8 FAULTS ...
Page 258: ......
Page 291: ...9 TRACING AND DEBUGGING ...
Page 292: ......
Page 309: ...10 TIMERS ...
Page 310: ......
Page 324: ......
Page 325: ...11 INTERRUPTS ...
Page 326: ......
Page 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Page 370: ......
Page 412: ......
Page 413: ...13 MEMORY CONFIGURATION ...
Page 414: ......
Page 429: ...14 EXTERNAL BUS ...
Page 430: ......
Page 468: ......
Page 469: ...15 TEST FEATURES ...
Page 470: ......
Page 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Page 494: ......
Page 502: ......
Page 503: ...B OPCODES AND EXECUTION TIMES ...
Page 504: ......
Page 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Page 516: ......
Page 523: ...D REGISTER AND DATA STRUCTURES ...
Page 524: ......
Page 550: ......
Page 551: ...GLOSSARY ...
Page 552: ......
Page 561: ...INDEX ...
Page 562: ......
Page 578: ......