English
Language : 

XC164-16 Datasheet, PDF (55/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
The General Purpose Timer Units
Timer T5 Run Control
The auxiliary timer T5 can be started or stopped by software in two different ways:
• Through the associated timer run bit (T5R). In this case it is required that the
respective control bit T5RC = 0.
• Through the core timer’s run bit (T6R). In this case the respective remote control bit
must be set (T5RC = 1).
The selected run bit is relevant in all operating modes of T5. Setting the bit will start the
timer, clearing the bit stops the timer.
In gated timer mode, the timer will only run if the selected run bit is set and the gate is
active (high or low, as programmed).
Note: If remote control is selected T6R will start/stop timer T6 and the auxiliary timer T5
synchronously.
14.2.4 GPT2 Auxiliary Timer T5 Operating Modes
The operation of the auxiliary timer in the basic operating modes is almost identical with
the core timer’s operation, with very few exceptions. Additionally, some combined
operating modes can be selected.
Timer T5 in Timer Mode
Timer Mode for the auxiliary timer T5 is selected by setting its bitfield T5M in register
T5CON to 000B.
fGPT
Prescaler
fT5
Count
Auxiliary
Timer T5
T5IRQ
BPS2 T5I
0
T5R
MUX
1
T6R
Clear
T5UD
T5EUD
T5RC
0
MUX
=1
1
Up/Down
T5UDE
MCB05406_X4
Figure 14-25 Block Diagram of Auxiliary Timer T5 in Timer Mode
User’s Manual
GPT_X41, V2.0
14-42
V2.1, 2004-03