![FabiaTech FB2642 Скачать руководство пользователя страница 53](http://html.mh-extra.com/html/fabiatech/fb2642/fb2642_user-manual_536432053.webp)
FabIATech Corporation
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);
}
47
Содержание FB2642
Страница 6: ......
Страница 48: ...FabIATech Corporation 42 ...
Страница 58: ...FabIATech Corporation 52 ...
Страница 75: ...FabIATech Corporation Appendix Dimension 184 9 4 1 18 4 6 4 6 121 9 13 8 5 1 4 6 8 8 23 4 24 5 24 6 Unit mm 69 ...