ST10R272L - GENERAL PURPOSE TIMER UNITS
201/320
Note
Timer 3 operating in incremental interface mode, automatically provides
information on the sensor’s current position. Dynamic information (speed,
acceleration, deceleration) may be obtained by measuring the incoming signal
periods. This is facilitated by a special capture mode for timer T5.
11.1.2 GPT1 auxiliary timers T2 and T4
Both auxiliary timers T2 and T4 have exactly the same functionality. They can be configured
for timer, gated timer, or counter mode with the same options for the timer frequencies and
the count signal as the core timer T3. In addition to these 3 counting modes, the auxiliary
timers can be concatenated with the core timer, or they may be used as reload or capture
registers in conjunction with the core timer.
Note
The auxiliary timers have no output toggle latch and no alternate output function.
The individual configuration for timers T2 and T4 is determined by their bit addressable
control registers T2CON and T4CON, which are both organized identically. Note that
Figure 76 Evaluation of the incremental encoder signals
forward
jitter
backward
jitter
forward
T3IN
T3EUD
Contents
of T3
up
down
up
N
Thi
l
h
h
i
b h
i
i
h
T3
i i