User Manual
462
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
General Purpose Timer Units (GPT12)
Timer T4 Control Register
T2UDE
8
rw
Timer T2 External Up/Down Enable
0
B
T2UD
, Count direction is controlled by bit T2UD;
input T2EUD is disconnected
1
B
T2EUD
, Count direction is controlled by input T2EUD
T2UD
7
rw
Timer T2 Up/Down Control
1)
0
B
Up
, Timer T2 counts up
1
B
Down
, Timer T2 counts down
T2R
6
rw
Timer T2 Input Run Bit
0
B
Stop
, Timer T2 stops
1
B
Run
, Timer T2 runs
T2M
5:3
rw
Timer T2 Input Mode Control
000
B
Timer Mode
,
001
B
Counter Mode
,
010
B
Gated low
, Gated Timer Mode with gate active low
011
B
Gated high
, Gated Timer Mode with gate active high
100
B
Reload Mode
,
101
B
Capture Mode
,
110
B
Incremental Interface Mode
, (Rotation Detection Mode)
111
B
Incremental Interface Mode
, (Edge Detection Mode)
T2I
2:0
rw
Timer T2 Input Parameter Selection
Depends on the operating mode, see respective sections for
encoding:
for Timer Mode and Gated Timer Mode
for Counter Mode
for Incremental Interface Mode
1) See
for encoding of bits T2UD and T2UDE.
Table 248 RESET
Register Reset Type
Reset Values
Reset Short Name
Reset Mode
Note
RESET_TYPE_3
00000000
H
RESET_TYPE_3
GPT12E_T4CON
Offset
Reset Value
Timer T4 Control Register
10
H
see
Field
Bits
Type
Description
31
16
r
RES
15
15
rh
T4RD
IR
14
14
rwh
T4CH
DIR
13
13
rwh
T4ED
GE
12
12
rw
T4IR
DIS
11
11
rw
CLRT
3EN
10
10
rw
CLRT
2EN
99
rw
T4RC
88
rw
T4UD
E
77
rw
T4UD
66
rw
T4R
5
3
rw
T4M
2
0
rw
T4I