CHAPTER 9 TIMER/COUNTER FUNCTION
276
User’s Manual U15195EJ5V0UD
Figure 9-34. 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
INTCM0nx
INTCM0nx
INTCM0nx
INTCM0n3
INTCM0n3
CM0nx
match
CM0nx
match
CM0nx
match
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).
If match signal INTCM0n3 for TM0n and CM0n3 and the match signal for TM0n and CM0n0 to CM0n2
conflict, reset of the F/F takes precedence, so that the F/F is not set following a match of CM0n0 to
CM0n2 (= CM0n3) and TM0n.