User Manual
461
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
General Purpose Timer Units (GPT12)
16.3.8.3 GPT1 Auxiliary Timers T2/T4 Control Registers
Timer T2 Control Register
GPT12E_T2CON
Offset
Reset Value
Timer T2 Control Register
08
H
see
Field
Bits
Type
Description
RES
31:16
r
Reserved
Read as 0; should be written with 0.
T2DIR
15
rh
Timer T2 Rotation Direction
0
B
Up
, Timer T2 counts up
1
B
Down
, Timer T2 counts down
T2CHDIR
14
rwh
Timer T2 Count Direction Change
This bit is set each time the count direction of timer T2 changes.
T2CHDIR must be cleared by software.
0
B
No change
, No change of count direction was detected
1
B
Change
, A change of count direction was detected
T2EDGE
13
rwh
Timer T2 Edge Detection
The bit is set each time a count edge is detected. T2EDGE must be
cleared by software.
0
B
No count
, No count edge was detected
1
B
Count
, A count edge was detected
T2IRIDIS
12
rw
Timer T2 Interrupt Disable
0
B
Enabled
, Interrupt generation for T2CHDIR and T2EDGE
interrupts in Incremental Interface Mode is enabled
1
B
Disabled
, Interrupt generation for T2CHDIR and T2EDGE
interrupts in Incremental Interface Mode is disabled
RES
11:10
r
Reserved
Read as 0; should be written with 0.
T2RC
9
rw
Timer T2 Remote Control
0
B
T2R
, Timer T2 is controlled by its own run bit T2R
1
B
T3R
, Timer T2 is controlled by the run bit T3R of core timer T3,
not by bit T2R
31
16
r
RES
15
15
rh
T2DI
R
14
14
rwh
T2CH
DIR
13
13
rwh
T2ED
GE
12
12
rw
T2IR
IDIS
11
10
r
RES
99
rw
T2RC
88
rw
T2UD
E
77
rw
T2UD
66
rw
T2R
5
3
rw
T2M
2
0
rw
T2I