Watchdog Timer Operation In Stop Mode (When "Ring-Osc Can Be Stopped By Software" Is Selected By Mask Option); Operation In Stop Mode (Cpu Clock And Wdt Operation Clock: X1 Input Clock); Operation In Stop Mode (Cpu Clock: X1 Input Clock, Wdt Operation Clock: Ring-Osc Clock) - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

11.4.3 Watchdog timer operation in STOP mode (when "Ring-OSC can be stopped by software" is selected
by mask option)
The watchdog timer stops counting during STOP instruction execution regardless of whether the X1 input clock or
Ring-OSC clock is being used.
(1) When the CPU clock and the watchdog timer operation clock are the X1 input clock (f
instruction is executed
When STOP instruction is executed, operation of the watchdog timer is stopped. After STOP mode is released,
counting stops for the oscillation stabilization time set by the oscillation stabilization time select register (OSTS)
and then counting is started again using the operation clock before the operation was stopped. At this time, the
counter is not cleared to 0 but holds its value.
Figure 11-4. Operation in STOP Mode (CPU Clock and WDT Operation Clock: X1 Input Clock)
Normal
operation
CPU operation
f
XP
f
R
Watchdog timer
Operating
(2) When the CPU clock is the X1 input clock (f
clock (f
) when the STOP instruction is executed
R
When the STOP instruction is executed, operation of the watchdog timer is stopped. After STOP mode is
released, counting is started again using the operation clock before the operation was stopped. At this time, the
counter is not cleared to 0 but holds its value.
(CPU Clock: X1 Input Clock, WDT Operation Clock: Ring-OSC Clock)
Normal
operation
CPU operation
f
XP
f
R
Watchdog timer
Operating Operation stopped
CHAPTER 11 WATCHDOG TIMER
Oscillation stabilization time
STOP
Oscillation
Oscillation stabilization time
stopped
(set by OSTS register)
Operation stopped
*
) and the watchdog timer operation clock is the Ring-OSC
XP
Figure 11-5. Operation in STOP Mode
Oscillation stabilization time
STOP
Oscillation
Oscillation stabilization time
stopped
(set by OSTS register)
Operating
User's Manual U15947EJ2V0UD
) when the STOP
XP
Normal operation
Operating
Normal operation
269

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents