beautypg.com

NEC PD78214 User Manual

Page 243

background image

214

µ

PD78214 Sub-Series

Fig. 7-132 Count Start Operation

(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

Fig. 7-134 Timing of Count Operation Stop and Restart

Count clock

Actual counting starts

Count start instruction by software (CE

n

←1)

TMn (n = 0 to 3)

CE

n

0

0

1

2

3

Count clock

TMn (n = 0 to 3)

m

m+1

0

Count stop
(CEn

←0)

Counter is cleared here

Count start (CE

←1)

Count clock

m

m+1

0

1

TMn (n = 0 to 3)

Count stop (CEn

←0)

2

This manual is related to the following products: