User Manual
509
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Timer2 and Timer21
17.5
Timer2 and Timer21 Implementation Details
This section describes:
• the TLE984xQX module related interfaces such as port connections and interrupt control
• all TLE984xQX module related registers with their addresses
17.5.1
Interfaces of the Timer2 and Timer21
Overviews of the Timer2 and Timer21 kernel I/O interfaces and interrupt signals are shown in
and
Timer2 and Timer21 can be suspended when Debug Mode enters Monitor Mode and has the Debug Suspend
signal activated, provided the timer suspend bits, T2SUSP and T21SUSP (in SCU SFR MODSUSP) are set. Refer
to SCU chapter.
The interrupt request of the Timer2 and Timer21 is not connected directly to the CPU’s Interrupt Controller,
but via the System Control Unit (SCU). The General Purpose IO (GPIO) Port provides the interface from the
Timer2 and Timer21 to the external world.
The external trigger and counter inputs of the two Timer 2 modules can be selected from several different
sources. This selection is performed by the SCU via the corresponding input control and select bits in SFR
MODPISEL1 and MODPISEL2.
In the TLE984xQX, Timer2 and Timer21 allow additionally to trigger ADC1 conversions through the
t2(1)_adc_trigger signals. These trigger signals are generated while the timer is working in timer mode
(C_T2 = 0).
Figure 118 Timer 2 Module I/O Interface
T21_0
t2_ext_trigger
t2_adc _trigger
SCU
Module
(Kernel)
TIMER 2
Module
(Kernel)
T2_IRQ
Clock
Control
Address
Decoder
f
T2
Interrupt
Control
AHB
T2EX
Port Control
T21_1
T2
P0.x / Pin
assignment
see GPIO
chapter
P1.x / Pin
assignment
see GPIO
chapter
P2.x / Pin
assignment
see GPIO
chapter
EXF2
T2_SUSPEND
T2_interface.vsd