Appendix a wdt function reference, A.1 watchdog timer (wdt) function reference, A appendix: wdt function reference – ADLINK MXE-5300 Series User Manual
Page 79: Watchdog timer (wdt) function reference

WDT Function Reference
69
MXE-5300
Appendix A WDT Function Reference
A.1 Watchdog Timer (WDT) Function Reference
This appendix describes the usage of the watchdog timer (WDT)
function library for the MXE-5300 controller. Watchdog timer is a
hardware mechanism to reset the system in case the operating
system or an application halts. After starting watchdog timer, you
need to periodically reset the watchdog timer in the application
before the timer expires. Once watchdog timer expires, a hard-
ware-generated signal is sent to reset the system.
To use the WDT function library for MXE-5300, you need to
include the header file WDT.h and linkage library WDT.lib in your
C++ project.
InitWDT
Description
Initializes the watchdog timer function of MXE-5300 controller.
InitWDT must be called before the invocation of any other WDT
function.
Supported controllers
MXE-5300
Syntax
C/C++
BOOL InitWDT()
Parameters
None
Return code
TRUE
if watchdog timer is successfully initialized.
FALSE
if watchdog timer is failed to initialize.