FabiaTech Corporation
60
Watchdog Timer Enable & Trigger
After you enable the watchdog timer, your program must write the same factor as
enabling to the watchdog register at least once every time-out period to its
previous setting. You can change the time-out period by writing another timer
factor to the watchdog register at any time, and you must trigger the watchdog
before the new time-out period in the next trigger. Below is a Turbo C
++
program,
which demonstrates how to trigger the watchdog timer:
#include “stdio.H”
#include “WDLIB.H”
main( )
{
char WD_TIME=ox6;
InitWD(equWdUnitS);
printf (“Enable watchdog”);
//Trigger watchdog Timer Output is 6 seconds
EnWD(WD_TIME);
}
Watchdog Timer Disabled
To disable the watchdog timer, simply write DisWD( ) function.
#include “stdio.H”
#include “WDLIB.H”
main( )
{
InitWD(equWdUnitS);
printf (“Disable Watch Dog”);
//Disable watch dog
DisWD( );
}
Содержание FX5634 Fanless Series
Страница 6: ...vi ...
Страница 12: ...FabiaTech Corporation 6 ...
Страница 16: ...FabiaTech Corporation 10 b2 1 Antenna Cable b2 2 Connect to the WLAN module b3 Screw the Antenna ...
Страница 60: ...FabiaTech Corporation 54 ...
Страница 70: ...FabiaTech Corporation 64 ...
Страница 84: ...FabiaTech Corporation 78 Appendix Dimension a FX5634 ...
Страница 85: ...FabiaTech Corporation 79 b FX5634 L type universal fixers ...
Страница 86: ...FabiaTech Corporation 80 c FX5634 Plastic foot ...