User Manual
541
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
18.4.2.2 T13 Counting
The period of the timer is determined by the value in the period Register T13PR according to the following
formula:
T13
PER
= <Period-Value> + 1; in T13 clocks (
f
T13
)
(18.3)
Timer T13 can only count up, comparable to the Edge-Aligned mode of T12. This leads to very simple ‘counting
rule’ for the T13 counter:
• The counter is cleared with the next T13 clock edge if a Period-Match is detected. The counting direction is
always upwards.
The behavior of T13 is illustrated in
.
Figure 143 T13 Counting Sequence
18.4.2.3 Single-Shot Mode
In Single-Shot Mode, the timer run bit T13R is cleared by hardware. If bit T13SSC = 1, the timer T13 will stop
when the current timer period is finished.
Figure 144 Single-Shot Operation of Timer T13
CCU6_MCT05528
f
T13
Zero
CC63
Shadow Transfer
T13 Count
Period
Value
Period
Match
Zero
Match
Value n+1
Value n+2
0
CCU6_MCT05529
Compare
Value
Period
Value
f
T13
CC63ST
T13SSC
T13 Count
T13R