CHAPTER 9 TIMER/COUNTER FUNCTION
272
User’s Manual U15195EJ5V0UD
Figure 9-32. Operation Timing in PWM Mode 2 (Sawtooth Wave, BFCMnx > CM0n3) (2/2)
(b) Operation timing of compare registers 0n4 and 0n5 (CM0n4, CM0n5)
CM0n3
CM0n3
CM0n3
a
CM0nx
match
b
b
b
b
b
a
a
TM0n
count value
Interrupt request
BFCMnx
CM0nx
0000H
INTCM0n3
INTCM0nx
INTCM0n3
INTCM0n3
Remarks 1.
n = 0, 1
2.
x = 4, 5
3.
b > CM0n3
4.
INTCM0nx is generated on a match between TM0n and CM0nx (a in the above figure).
When a value greater than CM0n3 is set to BFCMn0 to BFCMn2, the positive phase side (TO0n0,
TO0n2, TO0n4 pins) outputs a high level, and the negative phase side (TO0n1, TO0n3, TO0n5 pins)
continues to output a low level. Since TM0n and CM0n0 to CM0n2 match does not occur, the F/F is not
reset. This feature is effective for outputting a low-level or high-level width exceeding the PWM cycle in
an application such as inverter control.
The above explanation applies to an active high case. In an active low case, the levels of positive and
negative phases are merely inverted and other operations remain the same.
Figure 9-33 shows the change timing from the 100% duty state.