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

Create successful ePaper yourself

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

Current Task Priority Registers<br />

Offset Processor 0 $20080<br />

Processor 1 $21080<br />

Bit 3<br />

1<br />

3<br />

0<br />

2<br />

9<br />

2<br />

8<br />

2<br />

7<br />

2<br />

6<br />

2<br />

5<br />

2<br />

4<br />

2<br />

3<br />

2<br />

2<br />

2<br />

1<br />

Registers<br />

There is one Task Priority Register per processor. Priority levels from 0<br />

(lowest) to 15 (highest) are supported. Setting the Task Priority Register to<br />

15 masks all interrupts to this processor. Hardware will set the task register<br />

to $F when it is reset or when the Init bit associated with this processor is<br />

written to a one.<br />

Interrupt Acknowledge Registers<br />

2<br />

0<br />

1<br />

9<br />

1<br />

8<br />

TP Task Priority of processor.<br />

On PowerPC-based systems, Interrupt Acknowledge is implemented as a<br />

read request to a memory-mapped Interrupt Acknowledge register.<br />

Reading the Interrupt Acknowledge register returns the interrupt vector<br />

corresponding to the highest priority pending interrupt. Reading this<br />

register also has the following side effects. Reading this register without a<br />

pending interrupt will return a value of $FF hex.<br />

❏ The associated bit in the Interrupt Pending Register is cleared.<br />

❏ Reading this register will update the In-Service register.<br />

VECTOR Vector. This vector is returned when the Interrupt<br />

Acknowledge register is read.<br />

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

1<br />

7<br />

1<br />

6<br />

1<br />

5<br />

1<br />

4<br />

1<br />

3<br />

1<br />

2<br />

1<br />

1<br />

1<br />

0 9 8 7 6 5 4 3 2 1 0<br />

Name CURRENT TASK PRIORITY<br />

Operation R R R R<br />

TP<br />

R/W<br />

Reset $00 $00 $00 $0 $F<br />

Offset Processor 0 $200A0<br />

Processor 1 $210A0<br />

Bit 3<br />

1<br />

3<br />

0<br />

2<br />

9<br />

2<br />

8<br />

2<br />

7<br />

2<br />

6<br />

2<br />

5<br />

2<br />

4<br />

2<br />

3<br />

2<br />

2<br />

2<br />

1<br />

2<br />

0<br />

1<br />

9<br />

1<br />

8<br />

1<br />

7<br />

1<br />

6<br />

1<br />

5<br />

1<br />

4<br />

1<br />

3<br />

1<br />

2<br />

1<br />

1<br />

1<br />

0 9 8 7 6 5 4 3 2 1 0<br />

Name VECTOR<br />

Operation R R R R<br />

Reset $00 $00 $00 $FF<br />

2

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

Saved successfully!

Ooh no, something went wrong!