English
Language : 

UPD784938 Datasheet, PDF (227/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 9 TIMER/EVENT COUNTER 0
Figure 9-7. Basic Operation of Timer Counter 0 (TM0)
(a) Count started → count stopped → count started
Count clock
fCLK/8
TM0 0H
0H 1H 2H
FFH 100H 101H
0H
0H 1H
CE0
Count started
CE0 ← 1
Count stopped
CE0 ← 0
(b) When “1” is written to the CE0 bit again after the count starts
Count clock
fCLK/8
Count started
CE0 ← 1
TM0 0H
0H 1H 2H 3H 4H 5H 6H
CE0
Count started
CE0 ← 1
(c) Operation when TM0 = FFFFH
Count clock
fCLK/8
Rewrite
CE0 ← 1
TM0 FFFEH FFFFH 0H 1H
OVF0
Cleared by software
OVF0 ← 0
Preliminary User’s Manual U13987EJ1V0UM00
227