130
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
Preliminary User’s Manual U16035EJ1V0UM
(6) Operation of OVF0 flag
<1>
OFV0 flag is set to 1 in the following case.
Either the clear & start mode on match between TM0 and CR00 or the free-running mode that clears and
starts at the valid edge of TIn is selected.
↓
CR00 is set to FFFFH.
↓
When TM0 is counted up from FFFFH to 0000H.
Figure 6-29. 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) Contending operations
<1>
The contending operation between the read time of 16-bit timer capture/compare register (CR00/CR01)
and capture trigger input (CR00/CR01 used as capture register)
Capture trigger input is prior to the other. The data read from CR00/CR01 is not defined.
<2>
The match timing of contending operation between the write period of 16-bit timer capture/compare register
(CR00/CR01) and 16-bit timer counter 0 (TM0) (CR00/CR01 used as a compare register)
The match discrimination is not performed normally. Do not write any data to CR00/CR01 near the match
timing.
(8) Timer operation
<1>
Even if the 16-bit timer counter 0 (TM0) is read, the value is not captured by 16-bit timer capture/compare
register 01 (CR01).
<2>
Regardless of the CPU’s operation mode, when the timer stops, the input signals to pins TI00/TI01 are
not acknowledged.