UNO Watchdog Timer User Manual
26
Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS:
operation succeed
(2) ADS_WATCHDOG_ERROR_INVALID_HANDLE:
Invalid device
handle
(3) ADS_WATCHDOG_ERROR_INVALID_PARAMETER:
Invalid
timer span index
LONG WDT_GetErrMsg ( LONG i_hHandle, LONG i_lErrCode,
LPTSTR o_pErrMsg );
Description: Get the error description of the specified error code
Input Parameters:
(1) i_hHandle:
Handle of the watchdog driver
(2) i_lErrCode:
The error code returned by a function call
(3) o_pErrMsg:
The pointer to a buffer to store the error message associ-
ated with a specified error code. The memory pointed by this pointer
should be allocated and initialized before transferred into this function, as
well should be de-allocated outside this function. The buffer size should
be large enough to load 64 characters.
Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS:
operation succeeds
(2) ADS_WATCHDOG_ERROR_INVALID_HANDLE:
Invalid device
handle
(3) ADS_WATCHDOG_ERROR_INVALID_PARAM:
The error code
is invalid
Summary of Contents for Watchdog Timer UNO-2171
Page 1: ...Watchdog Timer UNO 2170 UNO 2171 UNO 205XE User Manual ...
Page 4: ...UNO Watchdog Timer User Manual iv ...
Page 6: ...UNO Watchdog Timer User Manual vi ...
Page 12: ...UNO Watchdog Timer User Manual 6 ...
Page 19: ...13 Chapter2 Step2 Press Apply Step3 Press Enable ...
Page 21: ...15 Chapter2 Step6 Click the item AdsWatchdog you can view the event message ...
Page 23: ...2 CHAPTER 3 Function API s ...
Page 33: ...2 CHAPTER 4 Example Call Flows ...