User Manual
516
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
transfer enable bit STE12. Providing a shadow register for the period value as well as for other values related
to the generation of the PWM signal allows a concurrent update by software for all relevant parameters.
Two further signals indicate whether the counter contents are equal to 0000
H
(T12_ZM = zero match) or 0001
H
(T12_OM = one match). These signals control the counting and switching behavior of T12.
The basic operating mode of T12, either Edge-Aligned mode (
) or Center-Aligned mode
(
), is selected via bit CTM. A Single-Shot control bit, T12SSC, enables an automatic stop of the timer
when the current counting period is finished (see
).
The start or stop of T12 is controlled by the Run bit T12R that can be modified by bits in register TCTR4. The
run bit can be set/cleared by software via the associated set/clear bits T12RS or T12RR, it can be set by a
selectable edge of the input signal T12HR (TCTR2.T12RSEL), or it is cleared by hardware according to
preselected conditions.
The timer T12 run bit T12R must not be set while the applied T12 period value is zero. Timer T12 can be cleared
via control bit T12RES. Setting this write-only bit does only clear the timer contents, but has no further effects,
for example, it does not stop the timer.
The generation of the T12 shadow transfer control signal, T12_ST, is enabled via bit STE12. This bit can be set
or reset by software indirectly through its associated set/clear control bits T12STR and T12STD.
While Timer T12 is running, write accesses to the count register T12 are not taken into account. If T12 is
stopped and the Dead-Time counters are 0, write actions to register T12 are immediately taken into account.