25
Chapter 3
Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS:
operation succeed
(2) ADS_WATCHDOG_ERROR_INVALID_HANDLE:
Invalid device
handle
LONG WDT_GetStartupTime (LONG i_hHandle,
LARGE_INTEGER * o_pSartupTime);
Description: Get the watchdog enabled time
Input Parameters:
(1) i_hHandle:
Handle of the watchdog driver
(2) o_pSartupTime:
The count of 100-nanosecond intervals that the
watchdog is enabled.
Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS:
operation succeed
(2) ADS_WATCHDOG_ERROR_INVALID_HANDLE:
Invalid device
handle
LONG WDT_GetTimerSpanDescription ( LONG i_hHandle,
DWORD i_dwIndex, LPTSTR o_pDescription );
Description: Get the description of the specified timer span
Input Parameters:
(1) i_hHandle:
Handle of the watchdog driver
(2) i_dwIndex:
The timer span index
(3) o_pDescription:
The description of the specified timer index. 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.
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 ...