CHAPTER 9 TIMER/COUNTER FUNCTION
211
User’s Manual U15195EJ5V0UD
Figure 9-6. Interrupt Culling Ratio Change Timing
(Relationship Between STINTn Bit Setting and CUL Bit Change): PWM Mode 1 (Asymmetric Triangular Wave)
INTTM0n INTTM0n INTTM0n INTTM0n
INTTM0n
INTTM0n
INTTM0n
INTTM0n
INTCM0n3 INTCM0n3 INTCM0n3 INTCM0n3
INTCM0n3
INTCM0n3
INTCM0n3
INTCM0n3
000
001
010
Interrupt culling
1/1 cycle
Interrupt culling
1/2 cycle
Interrupt culling
1/4 cycle
TM0CEn bit
TM0n count value
CUL02 to CUL00 bits
STINTn = 1
INTTM0n
INTTM0n
INTTM0n
INTTM0n
INTTM0n
INTCM0n3
INTCM0n3
INTCM0n3
INTCM0n3
INTTM0n
INTCM0n3
INTTM0n
INTCM0n3
INTCM0n3
001
010
000
Interrupt culling
1/2 cycle
Interrupt culling
1/4 cycle
Interrupt culling
1/1 cycle
TM0CEn bit
TM0n count value
CUL02 to CUL00 bits
STINTn = 1
INTTM0n
INTTM0n
INTTM0n
INTTM0n
INTCM0n3
INTCM0n3
INTCM0n3
INTCM0n3
INTTM0n
INTTM0n
INTCM0n3
INTTM0n
INTCM0n3
INTCM0n3
001
010
000
Interrupt culling
1/2 cycle
Interrupt culling
1/4 cycle
Interrupt culling
1/1 cycle
TM0CEn bit
TM0n count value
CM0n3
0000H
CM0n3
0000H
CM0n3
0000H
CUL02 to CUL00 bits
STINTn = 1
Caution If, in TM0n, to realize the INTTM0n and INTCM0n3 culling function, the culling ratio is set to a
value other than 1/1 by bits CUL02 to CUL00 and counting is started, the subsequent interrupt
output sequence will differ due to the set value of the STINTn bit at count start.
Remark
n = 0, 1