User’s Manual
C166S V1 SubSystem
General Purpose Timer Unit
User’s Manual
12-31
V 1.6, 2001-08
Timer 6 in Timer Mode
Timer Mode for core Timer T6 is selected by setting bitfield T6M in register T6CON to
‘000
B
’. In this mode, T6 is clocked with the module clock divided by a programmable
prescaler, as selected by bitfield T6I. The input frequency
f
T6
for Timer T6 and its
resolution
r
T6
are scaled linearly with lower clock frequencies
f
clk
, as can be seen from
the following formula:
Note: <BPS2> represents the prescaler value of the prescaler part controlled by bitfield
BPS2. For the values, see the bit description in register T6CON.
Figure 12-18 Block Diagram of Core Timer T6 in Timer Mode
Table 12-11 Timer 6 Input Parameter Selection: Timer and Gated Timer Modes
T6I
Prescaler for f
clk
(BPS2 = 00)
Prescaler for f
clk
(BPS2 = 01)
Prescaler for f
clk
(BPS2 = 10)
Prescaler for f
clk
(BPS2 = 11)
000
4
2
16
8
001
8
4
32
16
010
16
8
64
32
011
32
16
128
64
f
T6
=
f
clk
[MHz]
<BPS2> * 2
<T6I>
r
T6
[ms] =
f
clk
[MHz]
<BPS2> * 2
<T6I>
Core Timer T6
T6OTL
T6IRQ
T6R
Prescaler
BPS2
EXOR
0
MUX
1
Up/
Down
T6EUD
T6UDE
MCB02028_e
f
clk
T6l
T6UD
T6OFL
T3OE
T3OUT
MUX
0
1
1
Содержание C166S V1 SubSystem
Страница 10: ...User s Manual C166S V1 SubSystem User s Manual I 6 V 1 6 2001 08...
Страница 16: ...User s Manual C166S V1 SubSystem Introduction User s Manual 1 6 V 1 6 2001 08...
Страница 126: ...User s Manual C166S V1 SubSystem Central Processing Unit User s Manual 3 96 V 1 6 2001 08...
Страница 178: ...User s Manual C166S V1 SubSystem Memory Organization User s Manual 4 52 V 1 6 2001 08...
Страница 206: ...User s Manual C166S V1 SubSystem Instruction Set User s Manual 5 28 V 1 6 2001 08...
Страница 306: ...User s Manual C166S V1 SubSystem Detailed Instruction Set User s Manual 6 100 V 1 6 2001 08...
Страница 362: ...User s Manual C166S V1 SubSystem The External Bus Interface User s Manual 8 40 V 1 6 2001 08...
Страница 452: ...User s Manual C166S V1 SubSystem General Purpose Timer Unit User s Manual 12 44 V 1 6 2001 08...
Страница 454: ...User s Manual C166S V1 SubSystem Instruction Index User s Manual 13 2 V 1 6 2001 08...
Страница 459: ......