User Manual
594
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
Example
If the timer T13 is intended to start at any compare event on T12 (T13TEC = 100
B
), the trigger event direction
can be programmed to:
• counting up >> a T12 channel 0, 1, 2 compare match triggers T13R only while T12 is counting up
• counting down >> a T12 channel 0, 1, 2 compare match triggers T13R only while T12 is counting down
• independent from bit CDIR >> each T12 channel 0, 1, 2 compare match triggers T13R
The timer count direction is taken from the value of bit CDIR. As a result, if T12 is running in edge-aligned mode
(counting up only), T13 can only be started automatically if bit field T13TED = 01
B
or 11
B
.
Register TCTR4 provides software-control (independent set and clear conditions) for the run bits T12R and
T13R. Furthermore, the timers can be reset (while running) and bits STE12 and STE13 can be controlled by
software. Reading these bits always returns 0.
CCU6_TCTR4
Offset
Reset Value
Timer Control Register 4
04
H
see
Field
Bits
Type
Description
T13STD
15
w
Timer T13 Shadow Transfer Disable
0
B
No action
,
1
B
STE13 reset
, STE13 is reset without triggering the shadow
transfer.
T13STR
14
w
Timer T13 Shadow Transfer Request
0
B
No action
,
1
B
STE13 set
, STE13 is set, enabling the shadow transfer.
T13CNT
13
w
Timer T13 Count Event
0
B
No action
,
1
B
Count
, If enabled (PISEL2), timer T13 counts one step.
RES
12:11
r
Reserved
Returns 0 if read.
T13RES
10
w
Timer T13 Reset
0
B
No effect
, No effect on T13.
1
B
Zero
, The T13 counter register is reset to zero. The switching of
the output signals is according to the switching rules. Setting
of T13RES has no impact on bit T13R.
15
15
w
T13STD
14
14
w
T13STR
13
13
w
T13CNT
12
11
r
RES
10
10
w
T13RES
99
w
T13RS
88
w
T13RR
77
w
T12STD
66
w
T12STR
55
w
T12CNT
44
r
RES
33
w
DTRES
22
w
T12RES
11
w
T12RS
00
w
T12RR