![FabiaTech Fanless FX5202 Скачать руководство пользователя страница 44](http://html1.mh-extra.com/html/fabiatech/fanless-fx5202/fanless-fx5202_user-manual_3105569044.webp)
FabiaTech Corporation
¾
Watchdog Timer Enabled
To enable the watchdog timer, you have to output a byte of timer factor to the
watchdog. The following is a Turbo C
++
program, which demonstrates how to
enable the watchdog timer and set the time-out period at 6 seconds.
#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 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);
}
37
Содержание Fanless FX5202
Страница 6: ...Dimension B 58 vi...
Страница 7: ...vii...
Страница 13: ...FabiaTech Corporation 6...
Страница 49: ...FabiaTech Corporation 42...
Страница 64: ...FabiaTech Corporation Appendix Dimension A OFF LINK ON ACT DC12 24V 2 1 57...
Страница 65: ...FabiaTech Corporation 58 Dimension B Rail Adapter EN 50022 1977 Din Rails On 35mm...