User Manual
451
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
General Purpose Timer Units (GPT12)
Timers T2 and T4 in Incremental Interface Mode
Incremental interface mode for an auxiliary timer Tx is selected by setting bitfield TxM in the respective
register TxCON to 110
B
or 111
B
. In Incremental Interface Mode, the two inputs associated with an auxiliary
timer Tx (TxIN, TxEUD) are used to interface to an incremental encoder. Tx is clocked by each transition on one
or both of the external input pins to provide 2-fold or 4-fold resolution of the encoder input.
Figure 99 Block Diagram of an Auxiliary Timer in Incremental Interface Mode
The operation of the auxiliary timers T2 and T4 in Incremental Interface Mode and the interrupt generation are
the same as described for the core timer T3. The descriptions, figures and tables apply accordingly.
Note:
Timers T2 and T4 operating in Incremental Interface Mode automatically provide information on the
sensor’s current position. For dynamic information (speed, acceleration, deceleration) see
“Combined Capture Modes” on Page 480
MCB05398
Count
Overflow
Underflow
TxEUD
Tx
Edge
Tx
RDIR
MUX
0
1
=1
TxUD
TxUDE
Change
Detect
&
TxCH
DIR
TxM
TxM
&
>1
_
Phase
Detect
MUX
TxRC
TxR
T3R
TxIN
TxI
TxIRDIS
TxIRQ
Auxiliary
Timer Tx
0
1
Edge
Select