CHAPTER 9 TIMER/COUNTER FUNCTION
275
User’s Manual U15195EJ5V0UD
(b) When BFCMnx = CM0n3 is set
Figure 9-34. Operation Timing in PWM Mode 2 (Sawtooth Wave, BFCMnx = CM0n3) (1/2)
(a) Operation timing of compare registers 0n0 to 0n2 (CM0n0 to CM0n2)
t
t
t
t
CM0n3
CM0n3
CM0n3
a
CM0nx
match
b
b
b
b
b
a
a
TM0n
count value
Positive phase
(TO0n0, TO0n2, TO0n4)
Negative phase
(TO0n1, TO0n3, TO0n5)
Interrupt request
BFCMnx
DTMnx
F/F
CM0nx
0000H
INTCM0n3
INTCM01x
INTCM01x
INTCM01x
INTCM01x
INTCM0n3
INTCM0n3
Set by rising edge of
TM0CEn bit
CM0nx
match
CM0nx
match
CM0nx
match
Remarks 1.
n = 0, 1
2.
x = 0 to 2
3.
b = CM0n3
4.
t: Dead time = (DTRRn + 1)/f
CLK
(f
CLK
: Base clock)
5.
The above figure shows an active-high case.
6.
INTCM01x is generated on a match between TM01 and CM01x (a in the above figure).
INTCM00x is not generated.