
INTERRUPTS
11-2
Since interrupts are handled based on priority, requested interrupts are often saved for later service
rather than being handled immediately. The mechanism for saving the interrupt is referred to as
interrupt posting. Interrupt posting is described in
section 11.6.5, “Posting Interrupts” (pg. 11-9)
.
The i960 core architecture defines two data structures to support interrupt processing: the interrupt
table (see
Figure 11-1
) and interrupt stack. The interrupt table contains 248 vectors for interrupt
handling procedures (eight of which are reserved) and an area for posting software-requested
interrupts. The interrupt stack prevents interrupt handling procedures from using the stack in use
by the application program. It also allows the interrupt stack to be located in a different area of
memory than the user and supervisor stack (e.g., fast SRAM).
Figure 11-1. Interrupt Handling Data Structures
11.1.1
The i960
®
Jx Processor Interrupt Controller
The i960 Jx processor Interrupt Controller Unit (ICU) provides a flexible, low-latency means for
requesting and posting interrupts and minimizing the core’s interrupt handling burden. Acting
independently from the core, the interrupt controller posts interrupts requested by hardware and
software sources and compares the priorities of posted interrupts with the current process priority.
The interrupt controller provides the following features for managing hardware-requested interrupts:
•
Low latency, high throughput handling
•
Support of up to 240 external sources
•
Eight external interrupt pins, one non-maskable interrupt pin, two internal timers sources for
detection of hardware-requested interrupts
•
Edge or level detection on external interrupt pins
•
Debounce option on external interrupt pins
The user program interfaces to the interrupt controller with six memory-mapped control registers.
The interrupt control register (ICON) and interrupt map control registers (IMAP0-IMAP2)
provide configuration information. The interrupt pending (IPND) register posts
hardware-requested interrupts. The interrupt mask (IMSK) register selectively masks
hardware-requested interrupts.
Interrupt
Interrupt
Table
Handling
Procedure
Interrupt
Request
Interrupt Pointer
Memory
i960
®
Jx
Processor
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: ......