
ST10R272L - GENERAL PURPOSE TIMER UNITS
219/320
Count direction control for auxiliary timer
The count direction of the auxiliary timer can be controlled in the same way as for the core
timer T6. The description and the table apply accordingly.
Timer T5 in timer mode or gated timer mode
When the auxiliary timer T5 is programmed to timer mode or gated timer mode, its operation
is the same as described for the core timer T6. The descriptions, figures and tables apply
accordingly with one exception: There is no output toggle latch and no alternate output pin
for T5.
Timer T5 in counter mode
Counter mode for the auxiliary timer T5 is selected by setting bit field T5M in register T5CON
to ‘001
B
’. In counter mode timer T5 can be clocked either by a transition at the external input
pin T5IN, or by a transition of timer T6’s output toggle latch T6OTL.
T5SC
Timer 5 Capture Mode Enable
T5SC = ‘0’: Capture into register CAPREL Disabled
T5SC = ‘1’: Capture into register CAPREL Enabled
1. For the effects of bits TxUD and TxUDE refer to Table 37 GPT2 core timer T6
count direction control.
Figure 87 Block diagram of auxiliary timer T5 in counter mode
Bit
Function