Timings After Compare Register Change During Timer Count Operation - NEC PD78076 User Manual

Pd78078 series; pd78078y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 10 8-BIT TIMER/EVENT COUNTERS 5 AND 6
(3) Operation after compare register change during timer count operation
If the values after the 8-bit compare registers (CR50 and CR60) are changed are smaller than those of 8-
bit timer registers (TM5 and TM6), TM5 and TM6 continue counting, overflow and then restarts counting from
0. Thus, if the value (M) after CR50 and CR60 change is smaller than that (N) before change it is necessary
to restart the timer after changing CR50 and CR60.
Figure 10-21. Timings after Compare Register Change during Timer Count Operation
Count Pulse
CR50, CR60
N
M
TM5, TM6 Count Value
X – 1
X
FFH
00H
01H
02H
Remark N > X > M
268

Advertisement

Table of Contents
loading

Table of Contents