ST10R272L - GENERAL PURPOSE TIMER UNITS
203/320
Count direction control for auxiliary timers
The count direction of the auxiliary timers can be controlled in the same way as for the core
timer T3. The description and the table apply accordingly.
Timers T2 and T4 in timer mode or gated timer mode
When the auxiliary timers T2 and T4 are programmed to timer mode or gated timer mode,
their operation is the same as described for the core timer T3. The descriptions, figures and
tables apply accordingly with one exception: There is no output toggle latch and no alternate
output pin for T2 and T4.
Timers T2 and T4 in counter mode
Counter mode for the auxiliary timers T2 and T4 is selected by setting bit field TxM in the
respective TxCON register to ‘001
B
’. In counter mode, timers T2 and T4 can be clocked
either by a transition at the respective external input pin TxIN, or by a transition of timer T3’s
output toggle latch T3OTL.
TxUDE
Timer x External Up/Down Enable
1
1.
For the effects of bits TxUD and TxUDE refer to Table 31 GPT1 core timer T3 count direc-
tion control.
Figure 77 Block diagram of an auxiliary timer in counter mode
Bit
Function