332
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
PWM operation:
(1)
When the value of the counter matches the value of GCCnm, a match interrupt (INTCCGnm) is
output.
(2)
When the counter overflows, an overflow interrupt (INTTMGn0 or INTTMGn1) is generated.
(3)
TOGnm does not make a transition until the first overflow occurs. (Even if the counter is cleared by
software, TOGnm does not make a transition until the next overflow occurs. After the first overflow
occurs, TOGnm is activated.
(4)
When the value of the counter matches the value of GCCnm, TOGnm is deactivated, and a match
interrupt (INTCCGnm) is output. The counter is not cleared, but continues count-up operation.
(5)
The counter overflows, and INTTMGn0 or INTTMGn1 is output to activate TOGnm. The counter
resumes count-up operation starting with 0000H.
Figure 10-46:
Timing of PWM operation (free run)
Data N is set in GCCn1, counter TMGn0 is selected.
N
ENFG0
TMGn0
GCCn1
INTCCGn1
INTTMGn0
FFFFH
FFFFH
FFFFH
Match
TOGn1 (ALVG1=1)
TOGn1 (ALVG1=0)
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......