User Manual
463
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
General Purpose Timer Units (GPT12)
Field
Bits
Type
Description
RES
31:16
r
Reserved
Read as 0; should be written with 0.
T4RDIR
15
rh
Timer T4 Rotation Direction
0
B
Up
, Timer T4 counts up
1
B
Down
, Timer T4 counts down
T4CHDIR
14
rwh
Timer T4 Count Direction Change
The bit is set each time a count direction of timer T4 changes.
T4EDGE must be cleared by software
0
B
No change
, No change in count direction was detected
1
B
Change
, A change in count direction was detected
T4EDGE
13
rwh
Timer T4 Edge Direction
The bit is set each time a count edge is detected. T4EDGE has to be
cleared by software
0
B
No count
, No count edge was detected
1
B
Count
, A count edge was detected
T4IRDIS
12
rw
Timer T4 Interrupt Disable
0
B
Enabled
, Interrupt generation for T4CHDIR and T4EDGE
interrupts in Incremental Interface Mode is enabled
1
B
Disabled
, Interrupt generation for T4CHDIR and T4EDGE
interrupts in Incremental Interface Mode is disabled
CLRT3EN
11
rw
Clear Timer T3 Enable
Enables the automatic clearing of timer T3 upon a falling edge of the
selected T4In input.
0
B
No effect
, No effect of T4IN on Timer T3
1
B
Clear
, A falling edge on T4In clears timer T3
CLRT2EN
10
rw
Clear Timer T2 Enable
Enables the automatic clearing of timer T2 upon a falling edge of the
selected T4EUD input.
0
B
No effect
, No effect of T4EUD on timer T2
1
B
Clear
, A falling edge on T4EUD clears timer T2
T4RC
9
rw
Timer T4 Remote Control
0
B
T4R
, Timer T4 is controlled by its own run bit T4R
1
B
T3R
, Timer T4 is controlled by the run bit T3R of core timer T3,
but not by bit T4R
T4UDE
8
rw
Timer T4 External Up/Down Enable
0
B
T4UD
, Count direction is controlled by bit T4UD;
input T4EUD is disconnected
1
B
T4EUD
, Count direction is controlled by input T4EUD
T4UD
7
rw
Timer T2 Up/Down Control
1)
0
B
Up
, Timer T2 counts up
1
B
Down
, Timer T2 counts down
T4R
6
rw
Timer T4 Input Run Bit
0
B
Stop
, Timer T4 stops
1
B
Run
, Timer T4 runs