NEC 78K0 User Manual page 158

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

(6) Operation of OVF00 flag
<1> The OVF00 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
TM00 and CR000, the mode in which clear & start occurs at the TI00 valid edge, or the free-running mode
CR000 is set to FFFFH
TM00 is counted up from FFFFH to 0000H.
<2> Even if the OVF00 flag is cleared before the next count clock is counted (before TM00 becomes 0001H)
after the occurrence of TM00 overflow, the OVF00 flag is re-set newly and clear is disabled.
(7) Conflicting operations
Conflict between the read period of the 16-bit timer capture/compare register (CR000/CR010) and capture trigger
input (CR000/CR010 used as capture register)
Capture trigger input has priority. The data read from CR000/CR010 is undefined.
Count clock
TM00 count value
Edge input
INTTM010
Capture read signal
CR010 capture value
158
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Figure 6-36. Operation Timing of OVF00 Flag
Count clock
CR000
FFFFH
TM00
FFFEH
OVF00
INTTM000
Figure 6-37. Capture Register Data Retention Timing
N
N + 1
X
User's Manual U16227EJ2V0UD
FFFFH
0000H
0001H
N + 2
M
N + 2
Capture
M + 1
M + 2
M + 1
Capture, but
read value is
not guaranteed

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents