Fujitsu FR81S User Manual

Page of 2342
CHAPTER 18: WATCHDOG TIMER 
 
 
6. Usage Example 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : WATCHDOG TIMER 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
25 
6.  Usage Example 
This section gives an example of how the watchdog timer. 
This example shows how to clear the watchdog timer. 
Figure 6-1 Example of Clearing the Watchdog Timers 
 
 
 
 
 
 
 
 
 
Within periodic
Create periodic
Watchdog timer
Clock settings
Boot
• Periodically clear watchdog timer 1 during the set time so that
• Set watchdog timer 0.
• Clear watchdog 0.
• Clear watchdog 1.
• Perform other processing as necessary. (Various calibrations, etc.)
• Use the main timer, PPG, base timer, etc. to run the periodic  interrupt
watchdog reset (WDT1) does not apply.
• Watchdog timer 1 is enabled even if not configured.
service based on the timer.
settings
interrupt service
interrupt service
by timer
• Clear the watchdog 0. 
• Clear the watchdog 1. 
• Perform other processing as necessary. (Various calibrations, etc.) 
• Use the main timer, PPG, base timer, etc. to run periodic interrupt 
services based on the timer. 
• Set the watchdog timer 0. 
• The watchdog timer 1 is enabled even if it is not configured. 
• Clear the watchdog timer 1 periodically during the set time so that 
a watchdog reset (WDT1) does not be applied. 
MB91520 Series
MN705-00010-1v0-E
634