User Manual
464
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
General Purpose Timer Units (GPT12)
16.3.8.4 Encoding
Encoding of GPT1 Timer Count Direction Control
Timer Mode and Gated Timer Mode: Encoding of GPT1 Overall Prescaler Factor
T4M
5:3
rw
Timer T4 Mode Control (Basic Operating Mode)
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)
T4I
2:0
rw
Timer T4 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 T4UD and T4UDE.
Table 249 RESET
Register Reset Type
Reset Values
Reset Short Name
Reset Mode
Note
RESET_TYPE_3
00000000
H
RESET_TYPE_3
Table 250 GPT1 Timer Count Direction Control
Pin TxEUD
Bit TxUDE
Bit TxUD
Count Direction
Bit TxRDIR
X
0
0
Count Up
0
X
0
1
Count Down
1
0
1
0
Count Up
0
1
1
0
Count Down
1
0
1
1
Count Down
1
1
1
1
Count Up
0
Table 251 GPT1 Overall Prescaler Factors for Internal Count Clock (Timer Mode and Gated Timer
Mode)
Individual Prescaler
for Tx
Common Prescaler for Module Clock
1)
BPS1 = 01
B
BPS1 = 00
B
BPS1 = 11
B
BPS1 = 10
B
TxI = 000
B
4
8
16
32
TxI = 001
B
8
16
32
64
Field
Bits
Type
Description