5 notes on using watchdog timer, Notes on using watchdog timer, 5 "no – FUJITSU Semiconductor Controller MB89950/950A User Manual

Page 132

Advertising
background image

118

CHAPTER 6 WATCHDOG TIMER

6.5

Notes on Using Watchdog Timer

This section lists points to note when using the watchdog timer.

Notes on using watchdog timer

Stopping watchdog timer

Once activated, the watchdog timer cannot stop until a reset generates.

Clearing watchdog timer

Clearing the counter being used as a count clock of the watchdog timer (timebase timer or watch prescaler)

also simultaneously clears the watchdog timer counter.

The watchdog timer counter is cleared when entering sleep or stop mode.

Notes on programming

When writing a program in which the watchdog timer is repeatedly cleared in the main loop, including

interrupt processing, it should be less than the minimum watchdog timer interval time.

Advertising