CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U16898EJ1V0UD
115
(6) Operation of OVF00 flag
<1> The OVF00 flag is also set to 1 in the following case.
Either of the clear & start mode entered on a match between TM00 and CR000, clear & start at the valid
edge of the TI000 pin, or free-running mode is selected.
↓
CR000 is set to FFFFH.
↓
When TM00 is counted up from FFFFH to 0000H.
Figure 6-37. Operation Timing of OVF00 Flag
Count clock
CR000
TM00
OVF00
INTTM000
FFFFH
FFFEH
FFFFH
0000H
0001H
<2> Even if the OVF00 flag is cleared before the next count clock is counted (before TM00 becomes 0001H)
after the occurrence of a TM00 overflow, the OVF00 flag is reset newly and clear is disabled.
(7) Conflicting
operations
<1> When the 16-bit timer capture/compare register (CR000/CR010) is used as a compare register, if the
write period and the match timing of 16-bit timer counter 00 (TM00) conflict, match determination is not
successfully done. Do not perform a write operation of CR000/CR010 near the match timing.
When performing a write operation, refer to (11) Changing compare register during timer operation.
<2> If the read period and capture trigger input conflict when CR000/CR010 is used as a capture register,
capture trigger input has priority. The data read from CR000/CR010 is undefined.
Figure 6-38. Capture Register Data Retention Timing
Count clock
TM00 count value
Edge input
INTTM010
Capture read signal
CR010 capture value
N
N + 1
N + 2
M
M + 1
M + 2
X
N + 2
Capture, but
read value is
not guaranteed
Capture
M + 1
www.DataSheet4U.com
www.DataSheet4U.com