338
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
Figure 10-51:
Timing of compare operation (match and clear)
In this example, the data N is set in GCCn1, and TMGn0 is selected.
0FFFH is set in GCCn0. Here, N < 0FFFH.
(b) When 0000H is set in GCCn0 or GCCn5 (match and clear)
When 0000H is set in GCCn0 or GCCn5, the value of the counter is fixed at 0000H, and does not
operate. Moreover, INTCCGn0 (or INTCCGn5) continues to be active.
(c) When FFFFH is set in GCCn0 or GCCn5 (match and clear)
When FFFFH is set in GCCn0 or GCCn5, operation equivalent to the free-run mode is performed.
When an overflow occurs, INTTMGn0 (or INTTMGn1) is generated, but INTCCGn0 (or
INTCCGn5) is not generated.
(d) When 0000H is set in GCCnm (m = 1 to 4) (match and clear)
INTCCGnm is activated when the value of the counter becomes 0001H.
Note, however, that even if no data is set in GCCnm, INTCCGnm is activated immediately after the
counter starts.
(e) When a value exceeding the value of GCCn0 or GCCn5 is set in GCCnm (m = 1 to 4)
(match and clear)
INTCCGnm is not generated.
N
ENFG0
TMGn0
GCCn1
INTCCGn1
INTCCGn0
0FFFH
0FFFH
0FFFH
Match
Содержание 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: ......