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.

Timer Current Count Registers<br />

Offset Timer 0 - $01100<br />

Timer 1 - $01140<br />

Timer 2 - $01180<br />

Timer 3 - $011C0<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 />

Name TIMER CURRENT COUNT<br />

Operation<br />

Reset<br />

T<br />

R<br />

0<br />

2<br />

2<br />

2<br />

1<br />

2<br />

0<br />

1<br />

9<br />

1<br />

8<br />

Registers<br />

T TOGGLE. This bit toggles whenever the current count<br />

decrements to zero. The bit is cleared when a value is<br />

written into the corresponding base register and the CI bit<br />

of the corresponding base register transitions from a 1 to<br />

a 0.<br />

CC CURRENT COUNT. The current count field decrements<br />

while the Count Inhibit bit is the Base Count Register is<br />

zero. When the timer counts down to zero, the Current<br />

Count register is reloaded from the Base Count register<br />

and the timer’s interrupt becomes pending in MPIC<br />

processing.<br />

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

1<br />

7<br />

1<br />

6<br />

1<br />

5<br />

1<br />

4<br />

1<br />

3<br />

CC<br />

R<br />

$00000000<br />

1<br />

2<br />

1<br />

1<br />

1<br />

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

2

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

Saved successfully!

Ooh no, something went wrong!