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)
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......