CHAPTER 9 TIMER/COUNTER FUNCTION
256
User’s Manual U15195EJ5V0UD
Figure 9-25. Operation Timing in PWM Mode 1 (Asymmetric Triangular Wave, BFCMnx = 0000H) (1) (2/2)
(b) Operation timing of compare registers 0n4 and 0n5 (CM0n4, CM0n5)
CM0n3
CM0n3
a
b
CM0nx
match
CM0nx
match
INTTM0n
TM0n
count value
BFCMnx
Interrupt request
CM0nx
0000H
b
0000H
0000H
0000H
a
b
a
0000H
0000H
0000H
INTCM0n3
INTCM0nx
INTCM0nx INTCM0nx
INTCM0nx
INTCM0n3
INTTM0n
CM0nx
match
CM0nx
match
Remarks 1.
n = 0, 1
2.
x = 4, 5
3.
INTCM0nx is generated on a match between TM0n and CM0nx (a and b in the above figure).
Since a TM0n = CM0n0 to CM0n2 = 0000H match is detected during up counting by TM0n, the F/F is just
set and is not reset. The F/F is also set upon match detection in the cycle when 0000H is transferred to
CM0n0 to CM0n2 by INTTM0n interrupt.
Figure 9-26 shows the change timing from the 100% duty state.