To measure the cumulated “ON” time of MOSFETs (see the figure
below), the bit TCTS of the PWM Channel Mode Register must
be set to 1 to define the counter event (see the figure Waveform Properties) as the
Timer Counter trigger source.
Figure 1. Triggering the TC: Cumulated “ON” Time Measurement