CHAPTER 9 TIMER/COUNTER FUNCTION
291
User’s Manual U15195EJ5V0UD
Figure 9-45. Interrupt Generation Timing in PWM Mode 2 (Sawtooth Wave):
In Case of Interrupt Culling Ratio of 1/2
(a) When STINTn bit = 0
0004H
0000H
0001H 0002H 0003H 0004H 0000H 0001H 0002H 0003H 0004H 0000H 0001H 0002H 0003H 0004H 0000H 0001H 0002H 0003H
CM0n3
TM0CEn bit
TM0n
INTCM0n3
f
CLK
(b) When STINTn bit = 1
0004H
0000H
0001H 0002H 0003H 0004H 0000H 0001H 0002H 0003H 0004H 0000H 0001H 0002H 0003H 0004H 0000H 0001H 0002H 0003H
CM0n3
TM0CEn bit
TM0n
INTCM0n3
f
CLK
Remarks 1.
n = 0, 1
2.
f
CLK
: Base clock