User’s Manual
C166S V1 SubSystem
General Purpose Timer Unit
User’s Manual
12-12
V 1.6, 2001-08
Figure 12-6
Block Diagram of Core Timer T3 in Counter Mode
Table 12-4
Core Timer T3 (Counter Mode) Input Edge Selection
For Counter Mode operation, a port pin associated with line T3IN must be configured as
input. The maximum input frequency allowed in Counter Mode is
f
clk
/8 (BPS1 =’01
B
’). To
ensure that a transition of the count input signal applied to T3IN is correctly recognized,
its level should be held high or low for at least 4
f
clk
cycles (BPS1 =’01
B
’) before it
changes.
Timer 3 in Incremental Interface Mode
Incremental Interface Mode for core Timer T3 is selected by setting bitfield T3M in
register T3CON to ‘110
B
’ or ‘111
B
’. In Incremental Interface Mode, the two inputs
associated with Timer T3 (T3IN, T3EUD) are used to interface to an external incremental
encoder. T3 is clocked by each transition on one or both of the external input lines which
gives 2-fold or 4-fold resolution of the encoder input.
T3I
Triggering Edge for Counter Increment/Decrement
0 0 0
None. Counter T3 is disabled
0 0 1
Positive transition (rising edge) on T3IN
0 1 0
Negative transition (falling edge) on T3IN
0 1 1
Any transition (rising or falling edge) on T3IN
1 X X
Reserved. Do not use this combination
Core Timer T3
T3R
XOR
0
MUX
1
Up/
Down
T3EUD
T3UDE
MCB02030_b
T3l
T3IN
Edge
Select
T3OTL
T3IRQ
T3UD
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: ......