
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The General Purpose Timer Units
User’s Manual
14-41
V2.2, 2004-01
GPT_X1, V2.0
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 000
B
.
Figure 14-25 Block Diagram of Auxiliary Timer T5 in Timer Mode
Prescaler
Auxiliary
Timer T5
BPS2
T5I
f
GPT
f
T5
Count
T5IRQ
MCB05406
Up/Down
T5UD
MUX
T5RC
T5R
T6R
0
1
Clear