CHAPTER 9 TIMER/COUNTER FUNCTION
240
User’s Manual U15195EJ5V0UD
Figure 9-18. Operation Timing in PWM Mode 0 (Symmetric Triangular Wave, BFCMnx = 0000H) (2/2)
(b) Operation timing of compare registers 0n4 and 0n5 (CM0n4, CM0n5)
CM0n3
CM0n3
a
a
CM0nx
match
CM0nx
match
CM0nx
match
0000H
0000H
a
0000H
a
INTTM0n
INTTM0n
INTCM0n3
INTCM0n3
INTCM0nx INTCM0nx
INTCM0nx
INTCM0nx
TM0n
count value
BFCMnx
Interrupt request
CM0nx
0000H
CM0nx
match
Remarks 1.
n = 0, 1
2.
x = 4, 5
3.
INTCM0nx is generated on a match between TM0n and CM0nx (a in the above figure).
Since TM0n = CM0n0 to CM0n2 = 0000H match is detected during up counting by TM0n, the F/F is just
set and does not get reset. Even when the setting value is 0000H, F/F is changed in the cycle during
which transfer is performed from BFCMn0 to BFCMn2 to CM0n0 to CM0n2 similarly to when the setting
value is other than 0000H.
Figure 9-19 shows the change timing from the 100% duty state.