![Vecow MTC-7000 Series User Manual Download Page 65](http://html1.mh-extra.com/html/vecow/mtc-7000-series/mtc-7000-series_user-manual_3741248065.webp)
58
©Vecow MTC-7000 User Manual
APPENDIX B : SOFTWARE FUNCTIONS
B
APPENDIX B : SOFTWARE FUNCTIONS
B.1 Driver API Guide
In Runtime folder, on MTC7K.h :
_DLL_IMPORT_ definition is used on LoadLibrary API for MTC7K.dll.
MTC7K _EXPORTS definition is used on MTC7K.dll building.
BOOL Initial()
Initial machine for watchdog timer
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Driver not exists, or initial error (version is too old, or
machine not match))
BOOL GetWDT(DWORD *WDT)
Get watchdog timer setup
WDT : watchdog timer setup
Unit : second. (Range : 0 ~ 65535 sec, 1093 ~ 65535 min (=65580 ~
3932100 sec))
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or call by pointer error, or hardware problem)
BOOL SetWDT(DWORD WDT)
Set watchdog timer setup
WDT : watchdog timer setup
Unit : second. (Range : 1 ~ 65535 sec, 1093 ~ 65535 min (=65580 ~
3932100 sec))
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or setup 0 error, or hardware problem)
BOOL CancelWDT()
Cancel watchdog timer
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or hardware problem)