Section 11 Multi-Function Timer Pulse Unit 2
Page 582 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
11.4.10 TCNT Capture at Crest and/or Trough in Complementary PWM Operation
The TCNT value is captured in TGR at either the crest or trough or at both the crest and trough
during complementary PWM operation. The timing for capturing in TGR can be selected by
TIOR.
Figure 11.77 shows an example in which TCNT is used as a free-running counter without being
cleared, and the TCNT value is captured in TGR at the specified timing (either crest or trough, or
both crest and trough).
Tdead
Tdelay
Upper arm signal
Lower arm signal
Inverter output monitor signal
Dead time delay signal
TGRA_4
3DE7 3E5B
3E5B
3ED3
3ED3
3F37
3F37
3FAF
3FAF3DE7
TCNT[15:0]
TGR[15:0]
Up-count/down-count signal (udflg)
Figure 11.77 TCNT Capturing at Crest and/or Trough in Complementary PWM Operation