284
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
(2)
Overflow
When the TMC0 register has counted the count clock from FFFFH to 0000H, the OVF bit of the
TMCC00 register is set to "1", and an overflow interrupt (INTTMC0) is generated at the same time.
However, if the CCC00 register is set to compare mode (CMS0 = 1) and to the value FFFFH, when
match clearing is enabled (CCLR = 1) the TMC0 counter register is considered to be cleared and
the OVF bit is not set to "1" when the TMC0 counter register changes from FFFFH to 0000H. Also,
the overflow interrupt (INTTMC0) is not generated.
When the TMC0 counter register is changed from FFFFH to 0000H because the CE bit changes
from "1" to "0", the TMC0 register is considered to be cleared, but the OVF bit is not set to 1 and
no INTTMC0 interrupt is generated.
Also, timer operation can be stopped after an overflow by setting the OST bit of the TMCC01
register to 1. When the timer is stopped due to an overflow, the count operation is not restarted
until the CE bit of the TMCC00 register is set to "1".
Operation is not affected even if the CE bit is set to "1" during a count operation.
Figure 10-9:
Timing of interrupt operation after overflow
Overflow
Count
start
Overflow
FFFFH
FFFFH
TMC0
0
INTTMC0
CE
1
CE
1
←
←
Содержание 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: ......