153
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U15798EJ2V0UD
(6) Operation of OVF0 flag
<1>
The OVF0 flag is set to 1 in the following case.
Select any of the clear & start mode entered on a match between TM0 and CR00, the mode in which the
timer is cleared and started by the valid edge of TI00, and the free-running mode.
↓
CR00 is set to FFFFH.
↓
When TM0 is counted up from FFFFH to 0000H.
Figure 6-31. Operation Timing of OVF0 Flag
Count clock
CR00
TM0
OVF0
INTTM00
FFFFH
FFFEH
FFFFH
0000H
0001H
<2>
Even if the OVF0 flag is cleared before the next count clock (before TM0 becomes 0001H) after the
occurrence of TM0 overflow, the OVF0 flag is reset newly and clear is disabled.
(7) Conflicting operations
Conflict between the write period of the 16-bit timer capture/compare register (CR00/CR01) and match with 16-
bit timer counter 0 (TM0) (CR00/CR01 used as a compare register)
The match judgment is not performed normally. Do not write any data to CR00/CR01 near the match timing.
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...