28.11.2012 Views

Table of Contents - TG Drives

Table of Contents - TG Drives

Table of Contents - TG Drives

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

EXTENDED REGISTER GROUPS<br />

Tmr, System timers<br />

To increment or decrement this time, by a fixed amount without<br />

risking timer value changes during the operation, add or subtract<br />

from Tmr.A2 instead <strong>of</strong> Tmr.T2.<br />

Tmr.A2 7 -2 31 ..2 31 -1 RW<br />

This is the <strong>of</strong>fset adjustment values for timer 2.<br />

Tmr.T3 8 -2 31 31<br />

..2 -1<br />

User's Manual 5.1 Inmotion Technologies AB<br />

Doc. No.9032 0027 01 (B), Rev. 11.07.2001<br />

RW<br />

This is the time-values for timer 3. The timers are implemented<br />

by using an adjustment <strong>of</strong>fset from an absolute time.<br />

By writing to Tmr.T3 the <strong>of</strong>fset, Tmr.A3 is changed so Tmr.T3<br />

shows the desired time.<br />

To increment or decrement this time, by a fixed amount without<br />

risking timer value changes during the operation, add or subtract<br />

from Tmr.A3 instead <strong>of</strong> Tmr.T3.<br />

Tmr.A3 9 -2 31 31<br />

..2 -1<br />

RW<br />

This is the <strong>of</strong>fset adjustment value for timer 3.<br />

Tmr.Nudge 10 ±16 bit RW 0<br />

i<br />

This member makes it possible to adjust the time for the next<br />

timer interrupt. Reading this member will always return a zero.<br />

Writing this signed value will adjust the next timer interrupt either<br />

ahead or behind. The adjustment is done immediately and will<br />

then continue with the value programmed in Tmr.CycInt.<br />

In the case an adjustment will result in an immediate timeout<br />

then the Tmr.CycInt interrupt pending bit will be set. This<br />

can result in very high interrupt frequency.<br />

95

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

Saved successfully!

Ooh no, something went wrong!