
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The General Purpose Timer Units
User’s Manual
14-36
V2.2, 2004-01
GPT_X1, V2.0
14.2.2
GPT2 Core Timer T6 Operating Modes
Timer 6 in Timer Mode
Timer mode for the core timer T6 is selected by setting bitfield T6M in register T6CON
to 000
B
. In this mode, T6 is clocked with the module’s input clock
f
GPT
divided by two
programmable prescalers controlled by bitfields BPS2 and T6I in register T6CON.
Please see
for details on the input clock options.
Figure 14-22 Block Diagram of Core Timer T6 in Timer Mode
Prescaler
Core Timer T6
Toggle Latch
MCB05403
BPS2
T6I
Up/Down
f
GPT
f
T6
T6R
Count
T6OUT
T6IRQ
to T5/
CAPREL
T6UD
T6OUF