28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Interrupt Controller Module<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

If the AE bit is 0, then each interrupt request is presented with a vector<br />

number. The low five bits of the vector number (4–0) are determined<br />

based on the highest pending priority, with active fast interrupts having<br />

priority over active normal interrupts. The remaining two bits (vector bits<br />

5 and 6) are determined based on whether the interrupt request is a fast<br />

interrupt and the setting of the FVE bit. If FVE is set, then a fast interrupt<br />

request has a vector number different from that of a normal interrupt<br />

request as shown in Table 7-4.<br />

Table 7-4. Fast Interrupt Vector Number<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

Fast Interrupt<br />

FVE<br />

Interrupt Vector<br />

Bits 6:5<br />

No X 01<br />

X 0 01<br />

Yes 1 10<br />

If FVE is 0, both normal and fast interrupts requests assigned to priority<br />

levels 0–31 are mapped to vector numbers 32–63 in the vector table. If<br />

FVE is 1, normal interrupt requests assigned to priority levels 0–31 are<br />

mapped to vector numbers 32–63 in the vector table.<br />

If FVE is 1, then fast interrupt requests assigned to priority levels 0–31<br />

are mapped to vector numbers 64–95 in the vector table. See Table 7-5.<br />

Vector<br />

Number<br />

Table 7-5. Vector Table Mapping<br />

Usage<br />

Interrupt Vector<br />

Bits 6:5<br />

0–31 Fixed exceptions (including autovectors) 00<br />

32–63<br />

Vectored interrupts<br />

32 = lowest priority<br />

63 = highest priority<br />

64–95<br />

Vectored interrupts<br />

64 = lowest priority<br />

10<br />

95 = highest priority<br />

96–127 Vectored interrupts (not used) 11<br />

01<br />

Technical Data <strong>MMC2107</strong> – Rev. 2.0<br />

170 Interrupt Controller Module MOTOROLA<br />

For More Information On This Product,<br />

Go to: www.freescale.com

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

Saved successfully!

Ooh no, something went wrong!