CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
User’s Manual U16899EJ2V0UD
178
(6) Operation of OVF0n flag
<1> The OFV0n flag is also set to 1 in the following case.
When any of the following modes is selected: the mode in which clear & start occurs on a match between
TM0n and CR00n, the mode in which clear & start occurs at the TI00n valid edge, or the free-running mode
↓
CR00n is set to FFFFH
↓
TM0n is counted up from FFFFH to 0000H.
Figure 6-41. Operation Timing of OVF0n Flag
Count clock
CR00n
TM0n
OVF0n
INTTM00n
FFFFH
FFFEH
FFFFH
0000H
0001H
<2> Even if the OVF0n flag is cleared before the next count clock is counted (before TM0n becomes 0001H)
after the occurrence of TM0n overflow, the OVF0n flag is re-set newly so this clear is not valid.
(7) Conflicting
operations
When a read period of the 16-bit timer capture/compare register (CR00n/CR01n) and a capture trigger input
(CR00n/CR01n used as capture register) conflict, the priority is given to the capture trigger input. The data read
from CR00n/CR01n is undefined.
Figure 6-42. Capture Register Data Retention Timing
Count clock
TM0n count value
Edge input
INTTM01n
Capture read signal
CR01n 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
Remark n = 0:
µ
PD78F0132H
n = 0, 1:
µ
PD78F0133H, 78F0134H, 78F0136H, 78F0138H, 78F0138HD
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...