User Manual
537
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
A T12 shadow register transfer takes place (T12_ST active):
• while timer T12 is not running (T12R = 0), or
• STE12 = 1 and a Period-Match is detected while counting up, or
• STE12 = 1 and a One-Match is detected while counting down
When signal T12_ST is active, a shadow register transfer is triggered with the next cycle of the T12 clock. Bit
STE12 is automatically cleared with the shadow register transfer.
18.3.7
Timer T12 Operating Mode Selection
The operating mode for the T12 channels are defined by the bit fields T12MSEL.MSEL6x.
The clocking and counting scheme of the timers are controlled by the timer control registers TCTR0 and
TCTR2. Specific actions are triggered by write operations to register TCTR4.
18.4
Operating Timer T13
Timer T13 is implemented similarly to Timer T12, but only with one channel in compare mode. A 16-bit up-
counter is connected to a channel register via a comparator, that generates a signal when the counter
contents match the contents of the channel register. A variety of control functions facilitate the adaptation of
the T13 structure to different application needs. In addition, T13 can be started synchronously to timer T12
events.
This section provides information about:
• T13 overview (see
• Counting scheme (see
• Compare mode (see
)
• Shadow register transfer (see
)
Table 283 T12 Capture/Compare Modes Overview
MSEL6x
Selected operating mode
0000
B
,
1111
B
Capture/Compare modes switched off
0001
B
,
0010
B
,
0011
B
Compare mode, see
same behavior for all three codings
01XX
B
Double-Register Capture modes, see
1000
B
Hall Sensor Mode, see
In order to properly enable this mode, all three MSEL6x fields have to be programmed to Hall
Sensor mode.
1001
B
Hysteresis-like compare mode, see
1010
B
,
1011
B
,
1100
B
,
1101
B
,
1110
B
Multi-Input Capture modes, see