UNO Watchdog Timer User Manual
22
Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS:
operation succeed
(2) ADS_WATCHDOG_ERROR_INVALID_HANDLE:
Invalid device
handle
(3) ADS_WATCHDOG_ERROR_WDT_RUNNING:
The watchdog is
running now and can not set the timer span of the watchdog
LONG WDT_GetTimerSpan ( LONG i_hHandle, DWORD *
o_pIndex, DWORD * o_pValue );
Description: Get the timer span of the watchdog
Input Parameters:
(1) i_hHandle:
Handle of the watchdog driver
(2) o_pIndex:
The timer span index
(3) o_pValue:
Current time span value of watchdog timer
Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS:
operation succeed
(2) ADS_WATCHDOG_ERROR_INVALID_HANDLE:
Invalid device
handle
(3) ADS_WATCHDOG_ERROR_WDT_NOTRUNNING:
Watchdog
not running now
LONG WDT_Reboot ( LONG i_hHandle );
Description: Reboot the
machine by the watchdog Input Parameters:
(1) i_hHandle:
Handle of the watchdog drvier
Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS:
operation succeed
(2) ADS_WATCHDOG_ERROR_INVALID_HANDLE:
Invalid device
handle
(3) ADS_WATCHDOG_ERROR_WDT_NOTRUNNING:
Watchdog
not running now and can not reboot the machine
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 ...