
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The General Purpose Timer Units
User’s Manual
14-5
V2.2, 2004-01
GPT_X1, V2.0
T3OE
9
rw
Overflow/Underflow Output Enable
0
Alternate Output Function Disabled
1
State of T3 toggle latch is output on pin T3OUT
T3UDE
8
rw
Timer T3 External Up/Down Enable
0
Input T3EUD is disconnected
1
Direction influenced by input T3EUD
1)
T3UD
7
rw
Timer T3 Up/Down Control
T3R
6
rw
Timer T3 Run Bit
0
Timer T3 stops
1
Timer T3 runs
T3M
[5:3]
rw
Timer T3 Mode Control (Basic Operating Mode)
000
Timer Mode
001
Counter Mode
010
Gated Timer Mode with gate active low
011
Gated Timer Mode with gate active high
100
Reserved. Do not use this combination.
101
Reserved. Do not use this combination.
110
Incremental Interface Mode
(Rotation Detection Mode)
111
Incremental Interface Mode
(Edge Detection Mode)
T3I
[2:0]
rw
Timer T3 Input Parameter Selection
Depends on the operating mode, see respective
sections for encoding:
for Timer Mode and Gated Timer Mode
for Incremental Interface Mode
1) See
for encoding of bits T3UD and T3EUD.
Field
Bits
Typ
Description