The watchdog sample code of c language as below – Acrosser AR-B6050 User Manual
Page 26

AR-B6050 User Ma
nual
26
-o 2F ## The value “##” ranges between 01 ~ FF (1 ~ 255 seconds).
00: To disable WATCHDOG.
-q
To quit debug mode
Notice: The “actual” timer value may not match with the “theoretical”. That is because of the
tolerance of internal oscillating clock and cannot be adjusted or optimized.
The WATCHDOG sample code of C language as below:
//=========================================================================
==
// Rev
Date
Name
Description
//=========================================================================
==
// 1.0
12/16/2009 Willy
W83627EHF WatchDog timer test
//=========================================================================
==
//=========================================================================
==
// Language include files
//=========================================================================
==
#include
#include
#include
#include
//=========================================================================
==
// Normal procedure
//=========================================================================
==
void Show_Help();
//=========================================================================
==