|
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
|
▷ |