Chapter 12 Watchdog Timer Function; Configuration - NEC uPD784038 Series User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

The watchdog timer is a timer that detects inadvertent program loops.
Watchdog timer interrupts are used to detect system or program errors. For this purpose, instructions that clear the
watchdog timer (start the count) within a given period are inserted at various places in a program.
If an instruction that clears the watchdog timer is not executed within the set time and the watchdog timer overflows,
a watchdog timer interrupt (INTWDT) is generated and a program error is reported.

12.1 CONFIGURATION

The watchdog timer block diagram is shown in Figure 12-1.
f
CLK

CHAPTER 12 WATCHDOG TIMER FUNCTION

Figure 12-1 Watchdog Timer Block Diagram
Watchdog Timer
Clear Signal
User's Manual U11316EJ4V1UD
21
f
/2
CLK
20
f
/2
CLK
Selector
19
f
/2
CLK
17
f
/2
CLK
INTWDT
373

Advertisement

Table of Contents
loading

Table of Contents