Appendix C Watchdog Timer (WDT)
This appendix describes use of the watchdog timer (WDT) func-
tion library for the DLAP-8000 controller. The watchdog timer is a
hardware mechanism provided to reset the system if the operating
system or an application stalls. After starting, the watchdog timer
in the application must be periodically reset before the timer
expires. Once the watchdog timer expires, a hardware-generated
signal is sent to reset the system.
C.1 WDT with API/Windows
The WDT API library files and a demo program (incl. source code)
can be downloaded from:
Industrial_PCs_Fanless_Embedded_PCs/IPCSystems/DLAP-
8000_Series
To use the WDT function library for the DLAP-8000, include the
header file WDT.h and linkage library WDT.lib in the C++ project.
InitWDT
Initializes the watchdog timer function. Must be called before
the invocation of any other WDT function.
Syntax
C/C++
BOOL InitWDT()
Parameters
None
Return codes
TRUE if watchdog timer is successfully initialized.
FALSE if watchdog timer fails to initialize.
Watchdog Timer (WDT) Function Library
Function Library
https://www.adlinktech.com/Products/
DLAP-8000
79
Need help?
Do you have a question about the DLAP-8000 Series and is the answer not in the manual?