![NEC mPD780065 Series Preliminary User'S Manual Download Page 132](http://html.mh-extra.com/html/nec/mpd780065-series/mpd780065-series_preliminary-users-manual_249264132.webp)
132
CHAPTER 6 16-BIT TIMER/EVENT COUNTER
Preliminary User’s Manual U13420EJ2V0UM00
(7) Operation of OVF0 flag
<1>
OFV0 flag is set to 1 in the following case.
The clear & start mode on match between TM0 and CR00 is selected.
↓
CR00 is set to FFFFH.
↓
When TM0 is counted up from FFFFH to 0000H.
Figure 6-31. Operation Timing of OVF0 Flag
<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.
(8) 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 coincidence 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 coincidence discriminant is not performed normally. Do not write any data to CR00/CR01 near the
coincidence timing.
(9) Timer operation
<1>
Even if 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 external interrupt request input noise
is not eliminated.
<3>
One-shot pulse output operates normally only the free-running mode. In the clear & start mode by TM0
and CR00 match , no overflow occurs, and therefore one-shot pulse output is not possible.
Count pulse
CR00
TM0
OVF0
INTTM00
FFFFH
FFFEH
FFFFH
0000H
0001H
Summary of Contents for mPD780065 Series
Page 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Page 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...