NEC 78014Y Series User Manual page 221

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(3) Operation after compare register change during timer count operation
If the values after the 8-bit compare registers (CR10 and CR20) are changed are smaller than those of 8-bit timer
registers (TM1 and TM2), TM1 and TM2 continue counting, overflow and then restart counting from 0. Thus,
if the value after CR10 and CR20 (M) change is smaller than that before change (N), it is necessary to restart
the timer after changing CR10 and CR20.
Figure 9-16. Timings after Compare Register Change during Timer Count Operation
Count Pulse
CR10, CR20
TM1, TM2
Count Value
Remark
www.DataSheet4U.com
CHAPTER 9 8-BIT TIMER/EVENT COUNTER
N
X – 1
X
N > X > M
M
FFH
00H
01H
02H
221

Advertisement

Table of Contents
loading

Table of Contents