Timing After Compare Register Change During Timer Count Operation - NEC PD78056F User Manual

Pd78058f series; pd78058fy series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 9 8-BIT TIMER/EVENT COUNTERS
(3) Operation after compare register change during timer count operation
If the values after the 8-bit compare registers 10 and 20 (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 (M) after CR10 and CR20 change is smaller than value (N) before the change, it
is necessary to restart the timer after changing CR10 and CR20.
Figure 9-16. Timing After Compare Register Change During Timer Count Operation
Count Pulse
CR10, CR20
N
M
TM1, TM2 Count Value
X-1
X
FFH
00H
01H
02H
Remark N
X
M
237

Advertisement

Table of Contents
loading

Table of Contents