CHAPTER 9 TIMER/COUNTER FUNCTION
312
User’s Manual U15195EJ5V0UD
(i) Description of operation
The CM100 register is a compare register used to set the PWM output cycle. When the value of this
register matches the value of TM10, the INTCM100 interrupt is generated. The compare match is
saved by hardware, and TM10 is cleared at the next count clock after the match.
The CM101 register is a compare register used to set the PWM output duty. Set the duty required
for the PWM cycle.
Figure 9-50. PWM Signal Output Example (When ALVT10 Bit = 0 Is Set)
CM100 set value
CM101 set value
TM10
TO10
INTCM100
INTCM101
Cautions 1. Changing the values of the CM100 and CM101 registers is prohibited during TM10
operation (TM1CE0 bit of TMC10 register = 1).
2. Changing the value of the ALVT10 bit of the TUM0 register is prohibited during TM10
operation.
3. PWM signal output is performed from the second PWM cycle after the TM1CE0 bit is set
(to 1).