English
Language : 

UPD78320 Datasheet, PDF (41/88 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLER
µPD78320, 78322
3.10 WATCHDOG TIMER
The watchdog timer is used to prevent program overrun and deadlock. Normal operation of the program or system can
be confirmed by checking that no watchdog timer interrupt has been generated. Thus, an instruction to clear the watchdog
timer (timer start) is set into each program module.
If the watchdog timer clear instruction is not cleared within the time period set into the watchdog timer and the watchdog
timer overflows, a watchdog timer interrupt is generated, and a low level is generated to WDTO pin, thereby notifying of
an error in the program.
The watchdog timer can also be used to maintain the oscillation stabilization time of the oscillator after the stop mode
has been released.
Figure 3-8 shows the watchdog timer configuration.
Figure 3-8. Watchdog Timer Configuration
fCLK/28
fCLK/210
fCLK/212
WDT CLR
WDT STOP
Overflow
Watchdog Timer (8 Bits)
Clear
Timer (5 Bits)
WDTO
INTWDT
Oscillation Stabilization
Time Controller
41