Count Start Operation; Count Operation Stop; Timing Of Count Operation Stop And Restart - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

µ PD78214 Sub-Series
Fig. 7-132 Count Start Operation
Count clock
TMn (n = 0 to 3)
0
0
1
2
3
CE
n
Actual counting starts
←1)
Count start instruction by software (CE
n
(5) Even when an instruction is executed to stop a timer (CEn ← 0), the value of TMn is not cleared to 0
immediately. Instead, the value of TMn is cleared to 0 by the count clock pulse occurring after an instruction
is executed (CEn ← 0) to stop the timer.
Even if a timer is started (CEn ← 1) before the timer is cleared to 0 immediately after the timer is stopped, the
timer counts up starting with 0.
Fig. 7-133 Count Operation Stop
Count clock
TMn (n = 0 to 3)
m
m+1
0
Count stop
Counter is cleared here
(CEn←0)
Fig. 7-134 Timing of Count Operation Stop and Restart
Count clock
TMn (n = 0 to 3)
m
m+1
0
1
2
Count start (CE←1)
Count stop (CEn←0)
214

Advertisement

Table of Contents
loading

Table of Contents