17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Program Visible Registers<br />

Multi-Processor Interrupt Controller (MPIC)<br />

These are the registers that software can access. They are described in<br />

detail in the MPIC Registers section.<br />

Interrupt Pending Register (IPR)<br />

Interrupt Selector (IS)<br />

The interrupt signals to MPIC are qualified and synchronized to the clock<br />

by the IPR. If the interrupt source is internal to the Hawk ASIC or external<br />

with their Sense bit = 0 (edge sensitive), a bit is set in the IPR. That bit is<br />

cleared when the interrupt associated with that bit is acknowledged. If the<br />

interrupt source is external and level activated, the output from the IPR is<br />

not negated until the level into the IPR is negated.<br />

Externally sourced interrupts are qualified based upon their Sense and/or<br />

Pol bits in the Vector-Priority register. IPI and Timer Interrupts are<br />

generated internally to the Hawk ASIC and are qualified by their<br />

Destination bit. Since the internally generated interrupts use direct delivery<br />

mode with multicast capability, there are two bits in the IPR, one for each<br />

processor, associated with each IPI and Timer interrupt source.<br />

The MASK bits from the Vector-Priority registers are used to qualify the<br />

output of the IPR. Therefore, if an interrupt condition is detected when the<br />

MASK bit is set, that interrupt will be requested when the MASK bit is<br />

lowered.<br />

There is a Interrupt Selector (IS) for each processor. The IS receives<br />

interrupt requests from the IPR. If the interrupt requests are from an<br />

external source, they are qualified by the destination bit for that interrupt<br />

and processor. If they are from an internal source, they have been qualified.<br />

The output of the IS will be the highest priority interrupt that has been<br />

qualified. This output is the priority of the selected interrupt and its source<br />

identification. The IS will resolve an interrupt request in two PHB clock<br />

ticks.<br />

The IS also receives a second set of inputs from the ISR. During the End<br />

Of Interrupt cycle, these inputs are used to select which bits are to be<br />

cleared in the ISR.<br />

http://www.motorola.com/computer/literature 2-59<br />

2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!